Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Changing Module Tree

by Anonymous Monk
on Apr 06, 2011 at 14:44 UTC ( #897798=note: print w/replies, xml ) Need Help??


in reply to Re^4: Changing Module Tree
in thread Changing Module Tree

PERLLIB/PERL5LIB does not affect a running perl process

$ perl -le "print for @INC
C:/perl/site/5.12.2/lib/MSWin32-x86-multi-thread
C:/perl/site/5.12.2/lib
C:/perl/5.12.2/lib/MSWin32-x86-multi-thread
C:/perl/5.12.2/lib
.
 
$ set PERL5LIB=blah
 
$ perl -le "print for @INC
blah
C:/perl/site/5.12.2/lib/MSWin32-x86-multi-thread
C:/perl/site/5.12.2/lib
C:/perl/5.12.2/lib/MSWin32-x86-multi-thread
C:/perl/5.12.2/lib
.

You want to manipulate @INC directly

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-09-30 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (572 votes). Check out past polls.