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?? |
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
In Section
Seekers of Perl Wisdom
|
|