Not a big deal.
sudo(8) clears the environment depending on the content of the sudoers file. Consulting the sudoers(5) manual page helps.
Defaults env_keep += "PERL5LIB PERL5OPTS" # or even Defaults:Intrepid env_keep += "PERL5LIB PERL5OPTS"
in the sudoers file fixes that.
In reply to Re: Distro Pkg-Managed, broken Install.pm, sudo clears $PERL5LIB (sudoers)
by shmem
in thread Distro Pkg-Managed, broken Install.pm, sudo clears $PERL5LIB
by Intrepid
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |