<p>I have a module in the parent directory of my script and I would like to 'use' it.</p>

<p>If I do</p>

<pre><code>use '../Foo.pm';
</code></pre>

<p>I get syntax errors.</p>

<p>I tried to do:</p>

<pre><code>push @INC, '..';
use EPMS;
</code></pre>

<p>and .. apparently doesn't show up in @INC</p>

<p>I'm going crazy!  What's wrong here?</p>

You have to have the
```
push
```
processed before the
```
use
```
is -- and
```
use
```
is processed early.  So, you'll need a
```
BEGIN { push @INC, ".."; }
```
to have a chance, I believe.