title: Can't locate custom module in @INC
body: <p>I have a basic Perl script that runs code from a module. After switching to a new computer, I am no longer able to run this script. The directory tree is set up like so:</p>
  
  <pre><code>SatanicBot
    src
      SatanicBot
        Bot.pm
        Utils.pm
    run.pl &lt;-- The script that uses the module
  </code></pre>
  
  <p>The use statements in run.pl are like so:</p>
  
  <pre><code>use warnings;
  use strict;
  use diagnostics;
  
  use Bot::BasicBot;
  
  use Cwd qw(abs_path);
  use FindBin;
  use lib abs_path("$FindBin::Bin/SatanicBot");
  # Without this, I get an error that is essentially caused by it not being to find the module.
  use SatanicBot::Bot; 
  </code></pre>
  
  <p>When I run run.pl, I get the following error:</p>
  
  <pre><code>Can't locate SatanicBot/Bot.pm in @INC (you may need to install the SatanicBot::Bot module) (@INC contains: /Users/elifoster/Desktop/Dev/SatanicBot/src/SatanicBot /Users/elifoster/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/darwin-2level /Users/elifoster/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0 /Users/elifoster/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/darwin-2level /Users/elifoster/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0 .) at src/run.pl line 12.
  </code></pre>
  
  <p>As you can see, it states that @INC contains the directory that the SatanicBot::Bot module is in, yet it cannot find it. I'm seriously stumped.</p>