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 reply to Re: newbie question:operation @INC
by MarkM
in thread newbie question:operation @INC
by iwanthome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |