|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^4: Equivalent of unpack 'q' with 32-bit Perl (a8)by Limbic~Region (Chancellor) |
| on Sep 06, 2016 at 23:01 UTC ( [id://1171279]=note: print w/replies, xml ) | Need Help?? |
|
Anonymous Monk,
I really appreciate your help and I am not trying to intentionally be obtuse but I am still not following. The code needs to work on the output of Digest::MD5's md5() which according to the docs is This function will concatenate all arguments, calculate the MD5 digest of this "message", and return it in binary form. The returned string will be 16 bytes long. The following code works
I am not sure why the code for handling negative numbers is so weird but it works for everything I tested. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||