-----Original Message-----
From: Christian Millour
Sent: Tuesday, May 16, 2017 9:14 AM
To: win32-vanilla@perl.org
Subject: Re: Wrong SHA1 is calculated
Le 15/05/2017 à 16:30, sisyph...@optusnet.com.au a écrit :
Unfortunately, I don't know how to get that binmode() into the
one-liner's angle brackets :-(
$ PERLIO=unix perl -MDigest::SHA1=sha1_hex -le "print sha1_hex <>"
secure.txt
19576d392b021ac25efdca6f1886b5ce5b1090c4
$
Yes, I think that should give the OP the result he was seeking.
Nice.
Cheers,
Rob