I installed a module successfully with CPAN, but perl can't find it. Why?

前端 未结 2 1290
余生分开走
余生分开走 2020-12-03 03:34

I installed a CPAN module like this:

cpan Acme

According to the output, the installation was succe

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-03 04:20

    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.

提交回复
热议问题