title: Can't locate perl module in @inc even though error message says its in @inc
body: <p>I'm trying to execute a perl script and I've gotten it to work before when I run it in the folder it's located in... ie, the following works. </p>
  
  <pre><code>\higherFolder\folder&gt;UpdateTestCasesScript.pl Test.feature Test_Cases.xls
  </code></pre>
  
  <p>Buuuuut when I try to run this script on the command line OUTSIDE of that folder</p>
  
  <pre><code>\HigherFolder&gt;folder\UpdateTestCasesScript.pl RealFile.feature folder\Test_Cases.xls
  </code></pre>
  
  <p>I get this weird error:</p>
  
  <pre><code>Can't locate Spreadsheet/ParseExcel.pm in @INC &lt;@INC contains: Spreadsheet/Parse
  Excel.pl C:/Strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry
  /perl/lib .&gt; at C:...\HigherFolder\folder\UpdateTestCasesScript.pl line 4
  </code></pre>
  
  <p>But if you look at the first few lines of my script... they are the following: </p>
  
  <pre><code>#!/usr/bin/perl -w
  
  use lib 'Spreadsheet/ParseExcel.pm';
  use Spreadsheet::ParseExcel;
  </code></pre>
  
  <p>So I have an idea that it may be looking at the wrong @INC somehow, but does anyone have any idea how to fix it?? </p>
  
  <p>Thanks!!! </p>