Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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.


Comment on Re: newbie question:operation @INC
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://340848]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-12-20 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls