in reply to What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?
but they seem to be hanging around long after they are necessary.
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?
by ysth (Canon) on Nov 12, 2025 at 15:00 UTC | |
by Intrepid (Curate) on Nov 14, 2025 at 19:46 UTC | |
by ikegami (Patriarch) on Nov 14, 2025 at 22:42 UTC | |
by Intrepid (Curate) on Nov 18, 2025 at 23:12 UTC |