in reply to "Cannot find location"

or you can add it to your @INC path:
BEGIN { push @INC, '/root/perl5/lib/perl5'; } use Digest::MD5::File qw(file_md5_base64 file_md5_hex file_md5 md5 md5 +_hex md5_base64);

Replies are listed 'Best First'.
Re^2: "Cannot find location"
by afoken (Chancellor) on Apr 01, 2017 at 09:28 UTC
    or you can add it to your @INC path:
    BEGIN { push @INC, '/root/perl5/lib/perl5'; }

    That's nearly exactly what use lib does: See lib. (use lib unshifts, i.e. the extra directory is searched first, not last.)

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)