in reply to Re^2: how to convert numbers to ASCII characters
in thread how to convert numbers to ASCII characters

Binary files aren't likely to be LF-terminated, so <...> isn't likely to be appropriate.

As always, that depends. It is likely to be appropriate if the file isn't too big and read in slurp mode.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^3: how to convert numbers to ASCII characters