Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Basic - Perl5lib

by Anonymous Monk
on Oct 28, 2010 at 07:17 UTC ( [id://867926]=note: print w/replies, xml ) Need Help??


in reply to Basic - Perl5lib

You also might be interested in seeing how perlbrew manages switching between different versions.

Replies are listed 'Best First'.
Re^2: Basic - Perl5lib
by Anonymous Monk on Oct 28, 2010 at 12:18 UTC

    I am worried about how the PERL5 LIB env variable affects different perl installations. I am presuming they share the same one. However I want to be sure that if I set the PERL5LIB for my local installation that it won't mess up the system installation. I want to include certain module versions for use by my local installation and I know if i set PERL5LIB it is prepended to the @INC array. Presumably this will affect my system installation too. I don't know if I can avoid this or whether it means I shouldn't use the PERL5LIB variable and I should use 'use lib' to modify the INC array.

      PERL5LIB affects perl processes (every perl process will use PERL5LIB), it doesn't affect installations

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2025-06-18 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.