Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 .

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://508902]
help
Chatterbox?
[holli]: really concise
LanX agrees

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-09-23 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (272 votes). Check out past polls.

    Notices?