in reply to Re^2: Using pack to evaluate text strings as hexadecimal values
in thread Using pack to evaluate text strings as hexadecimal values
What doesn't this do that you'd like it to do?
$n = 0; $n |= 1 << $_ for 1,3,5,7;;
print $n, unpack 'H2', pack 'v', $n;;
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".
In the absence of evidence, opinion is indistinguishable from prejudice.