in reply to
Nibble swap
Here is another way:
$swap = pack 'h2', unpack 'H2', $char;
--
John.
Comment on
Re: Nibble swap
Download
Code
In Section
Cool Uses for Perl