http://www.perlmonks.org?node_id=185574


in reply to CPAN/MD5 Problem

This could be caused by competing installs of perl on the same machine, although you'd think that would fall over on your "use Digest::MD5" statement.

First thing to check is perl -V and @INC to ensure that the perl you think you're using and the perl your scripts think they're using match-- more to the point: that they have the same lib(rary) tree. If the scripts have #!/usr/bin/local/perl and your path (which would affect perl -V and perl -MCPAN -e "shell") has /usr/bin before /usr/local/bin, you might be installing CPAN modules into a different lib tree than the script's perl is checking for.