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.
|
|---|
| 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 |