Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: newbie question:operation @INC

by MarkM (Curate)
on Mar 30, 2004 at 03:20 UTC ( #340848=note: print w/replies, xml ) Need Help??


in reply to newbie question:operation @INC

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://340848]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-11-18 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?