in reply to Re^2: Help me decipher code containing map function
in thread Help me decipher code containing map function

can I compare a packed MAC just as I can compare it after unpacked?

Yes. Before you unpack and format them, your octet strings are just sequences of bytes with binary values in the range 0 -> 255. Ie. strings. Perl's normal string comparison operations (eq, ne, lt, le, gt, ge) will work perfectly on them; and you can use cmp to sort them.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit
  • Comment on Re^3: Help me decipher code containing map function

Replies are listed 'Best First'.
Re^4: Help me decipher code containing map function
by adamZ88 (Beadle) on May 24, 2017 at 14:26 UTC

    Excellent, that is the answer I was looking for. Thanks.