perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
The documentation says that PERL5OPT options are taken as if they appear on every perl command line. However, it looks as if those options are appended to the end of the command line. Is that what's going on?$ perl -e 'print join("\n", @INC)' ... lists /my/personal/lib among others $ perl -MDevel::LeakTrace::Fast -e 1 Can't locate Devel/LeakTrace/Fast.pm in @INC (@INC contains: ... ) NOTE: /my/personal/lib NOT listed here $ perl $PERL5OPT -MDevel::LeakTrace::Fast -e 1 (works no problems)
Is there a way to get PERL5OPT options to appear in front of the supplied command line options?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PERL5OPT and -M
by moritz (Cardinal) on Mar 10, 2009 at 21:15 UTC | |
by perl5ever (Pilgrim) on Mar 11, 2009 at 03:24 UTC | |
Re: PERL5OPT and -M
by xdg (Monsignor) on Mar 11, 2009 at 01:44 UTC |