in reply to Re: How to manipulate @INC in a script?
in thread How to manipulate @INC in a script?
That will likely work in most cases, but you are better off using the lib pragma as perldoc perlvar suggests or the PERL5ENV variable.BEGIN { unshift @INC , 'yet/another/path' }
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to manipulate @INC in a script?
by punkish (Priest) on Sep 21, 2004 at 14:54 UTC | |
by ikegami (Patriarch) on Sep 21, 2004 at 15:00 UTC |