|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: newbie question:operation @INCby MarkM (Curate) |
| on Mar 30, 2004 at 03:20 UTC ( #340848=note: print w/ replies, xml ) | Need Help?? |
|
What do you mean 'after script running, I use "perl -V"'? @INC is local to the script. It doesn't affect the parent, nor is a modified @INC automatically inherited to a child process. If you need to modify @INC for a script that you do not wish to alter, try setting the environment variable PERL5LIB. See "perlrun" for more information.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||