unpack('A2' x (length($hex) / 2), $hex);
I'd rewrite that as
unpack('(A2)*', $hex);
-sauoq "My two cents aren't worth a dime.";
In reply to Re^2: String adding
by sauoq
in thread String adding
by tim0304
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |