Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-11-29 10:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls