$str = join ',', map {sprintf "%02x", $_} unpack 'C*', $value; # And back $str =~ s/,//g; $value = pack "H*", $str;
--
John.
In reply to Re: unpack and pack
by jmcnamara
in thread unpack and pack
by anadem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |