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.
In reply to Re^3: Help me decipher code containing map function
by BrowserUk
in thread Help me decipher code containing map function
by adamZ88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |