Here are the possibilities to calculate md5 sum:
(Linux): md5sum filename
(Solaris): digest -a md5 -v filename
Here are the possibilities to calculate md5 sum:
(Linux): md5sum filename
(Solaris): digest -a md5 -v filename
use Digest::MD5;
use IO::File;
my $chk = Digest::MD5->new();
foreach my $file (@ARGV)
{
$chk->addfile(IO::File->new($file));
print "$file -> ",$chk->hexdigest,"\n";
}
The additional details could be found on IBM site