Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Win32 @INC behavior

by pg (Canon)
on Nov 16, 2005 at 04:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://508902]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-19 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found