in reply to Re^5: hexdump -C
in thread hexdump -C
Since we're golfing,
$s = $1; $s =~ y|\x20-\x7e|.|c;
can be replaced with
( $s = $1 ) =~ y|\x20-\x7e|.|c;
It's one character shorter with spaces removed.
Or
$s = $1 =~ y|\x20-\x7e|.|cr;
It's yet another character shorter with spaces removed.
|
|---|