in reply to "Cannot find location"

use lib '/root/perl5/lib/perl5';

Replies are listed 'Best First'.
Re^2: "Cannot find location"
by Anonymous Monk on Apr 02, 2017 at 18:46 UTC
    Same thing: Can't locate Digest/MD5/File.pm in @INC (@INC contains: /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at test.cgi line 9.
      Same thing: Can't locate Digest/MD5/File.pm in @INC (@INC contains: /root/perl5/lib/perl5 ...

      I guess you have a Perl version lower than 5.18:

      When require encounters an unreadable file, it now dies. It used to ignore the file and continue searching the directories in @INC [perl #113422].
      # Perl 5.10 $ perl -I/root -MTesting Can't locate Testing.pm in @INC (@INC contains: /root ... # Perl 5.24 $ perl -I/root -MTesting Can't locate Testing.pm: /root/Testing.pm: Permission denied.