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

Re: Win32 @INC behavior

by pg (Canon)
on Nov 16, 2005 at 04:35 UTC ( #508902=note: print w/ replies, xml ) Need Help??


in reply to Win32 @INC behavior

Set environment variable PERL5LIB to the directory list that you want in your @INC.

set PERL5LIB=\perl\lib;\perl\site\lib

. is automatically added, so don't need to worry about it.

If I do:

set PERL5LIB=foo;bar;%PERL5LIB%

The last piece of perl -V shows:

...... %ENV: PERL5LIB="foo;bar;\perl\lib;\perl\site\lib" @INC: foo bar \perl\lib \perl\site\lib .


Comment on Re: Win32 @INC behavior
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-07-07 23:08 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 (93 votes), past polls