title: Can't locate Config.pm in @INC
body: <p>I have a Perl app on my development server that I would like to replicate on my local machine (mac osx). I'm not a perl programmer by trade (I'm a PHP/Rails developer), and the developer of this app is no longer around so I can't contact him for help. I've gotten pretty close to getting it to work. I was able to install all the packages using CPAN (at least I think I got them all) but I keep running into the following error:</p>
  
  <pre><code>Can't locate WebCNP/Config.pm in @INC (
      @INC contains: /Library/Perl/5.16/darwin-thread-multi-2level 
                     /Library/Perl/5.16 
                     /Network/Library/Perl/5.16/darwin-thread-multi-2level 
                     /Network/Library/Perl/5.16 
                     /Library/Perl/Updates/5.16.2/darwin-thread-multi-2level 
                     /Library/Perl/Updates/5.16.2 
                     /System/Library/Perl/5.16/darwin-thread-multi-2level 
                     /System/Library/Perl/5.16 
                     /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level 
                     /System/Library/Perl/Extras/5.16 .
      ) 
      at webcnp_lib.pl line 30.
  </code></pre>
  
  <p>On the server, the app's file structure looks like this:</p>
  
  <pre><code>/var/www/cgi-bin (empty dir)
  /var/www/conf
  /var/www/error
  /var/www/html (empty dir)
  /var/www/icons
  /var/www/perl (the config file is located in this directory)
      - /WebCNP/Config.pm
  /var/www/ssi (all the .pl files for the app are located here, including all the JS and CSS files)
  </code></pre>
  
  <p>Line 30 of <code>/var/www/ssi/webcnp_lib.pl</code> has the following:</p>
  
  <pre><code>use WebCNP::Config;
  </code></pre>
  
  <p>Any ideas what I could be doing wrong? </p>
  
  <p>Just so you know I've copied the file structure of the app from my development server to my local machine and created a virtual host so that it points to the app's root directory (/var/www).</p>
  
  <p>Thanks in advanced for any insight!</p>