Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Nibble swapby Aristotle (Chancellor) |
on Oct 04, 2002 at 20:53 UTC ( [id://202894]=note: print w/replies, xml ) | Need Help?? |
Doh, you're right. But
Though I'm not sure we can just say my $swapped = (ord($_) << 4 | ord($_) >> 4) & 0xFF; to fix it. (Don't seem to be able to wrap my head around it right now.) Makeshifts last the longest.
In Section
Cool Uses for Perl
|
|