Check:
echo $PERL5LIB
That's a shell, not a perl, command.
Someone possibly set this previously somewhere such as /etc/profile. If that is the problem, until you can figure where it is set — grep -R PERL5LIB /etc will help with that — just
export PERL5LIB=
I.e., nothing after the equals sign. You could also add that to ~/.bashrc.
In reply to Re^4: perl lost its modules!
by halfcountplus
in thread perl lost its modules!
by seandarcy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |