saintmike has asked for the wisdom of the Perl Monks concerning the following question:
then running it aspp -o myscript myscript.pl
works fine while/some/path/myscript
fails withcd /tmp export PATH=$PATH:/some/path myscript
Is there a way to set PERL5LIB or else to make sure calling myscript works from anywhere?IO error: opening myscript for read : No such file or directory at -e +line 164 Can't call method "extractTree" on an undefined value at ../blib/lib/P +AR.pm line 263.
Thanks for any help ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running a self-containing PAR exe under PATH
by bsb (Priest) on Jul 05, 2004 at 07:52 UTC | |
by Anonymous Monk on Jul 05, 2004 at 08:21 UTC | |
by bsb (Priest) on Jul 05, 2004 at 08:27 UTC | |
by Anonymous Monk on Jul 05, 2004 at 08:43 UTC | |
by bsb (Priest) on Jul 06, 2004 at 00:01 UTC | |
| |
|
Re: Running a self-containing PAR exe under PATH
by revdiablo (Prior) on Jul 05, 2004 at 05:44 UTC | |
by Anonymous Monk on Jul 05, 2004 at 08:23 UTC |