I am using Digest::MD5 module and in that hexdigest returning different value for windows and linux.
please help me in solving the issue.
use Digest::MD5;
my $ctx=Digest::MD5->new();
open RD, "input.txt";
$ctx->addfile(*RD);
close RD;
print $ctx->hexdigest;
input.txt file has below content:
hello
output: windows
5d41402abc4b2a76b9719d911017c592
output: Linux
af5597c29467a96523a70787c319f4db
Thanks,
Saravanan