|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?by ikegami (Patriarch) |
| on Nov 11, 2025 at 22:46 UTC ( [id://11166686]=note: print w/replies, xml ) | Need Help?? |
|
That's impossible. A program can't change the environment of another process. It can change its own, and it can set the starting environment of its children. That's it. That means that the cpan process can't modify your shell's environment. If you're trying to explain env var found in your shell, start by checking your shell's login and startup scripts (e.g. .profile, .bash_profile, .bashrc).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||