Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2016-02-12 17:47 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (410 votes), past polls