I installed a CPAN module like this:
cpan Acme
According to the output, the installation was succe
The solution I found is to locate /local/lib.pm in one of the @INC directories and delete it or rename it (to an extension other than 'pm'). Then, rename (to an extension other than 'sh' or 'csh') or delete /etc/profile.d/perl-homedir.sh.
/local/lib.pm
@INC