Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 examining the Monastery: (9)
As of 2015-07-29 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls