Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: How to install modules for local perl without changing anything on system perl?

by beech (Parson)
on Dec 24, 2015 at 12:07 UTC ( [id://1151117]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to install modules for local perl without changing anything on system perl?
in thread [Solved]: How to install modules for local perl without changing anything on system perl?

But will that not mess up any updates you (later) need to make to the system Perl? Or worse, the system Perl will start using the local perl modules which may be incompatible between the versions of local and system Perl?

Thats a good question :)

I don't think you can mess up the system perl

any installs would be done as root and root ought to have a different %ENV :)

but if root doesn't, then the system installs just go in a different directory

now that might cause something tricky to happen, but if you're using system tools to update the system perl, then those tools should remove PERL_ vars from the equation

But yeah, the possibility exists, maybe :D

However , the system perl shouldn't start using incompatible versions, as using INSTALL_BASE ought to include both version number and archname -- it doesn't do this on win32 (for some unknown reason), but it should do it on other operating systems

  • Comment on Re^3: How to install modules for local perl without changing anything on system perl?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found