http://www.perlmonks.org?node_id=505132


in reply to how to read in a binary file and convert it to ascii output

Depends on what the binary file contains. If it is, for example, an image file then you're not likely to output it as text to display in a reasonable way. If it is an encoding of text in some binary format then some unencoding would be required, but without more details it's hard to say.
chas
  • Comment on Re: how to read in a binary file and convert it to ascii output

Replies are listed 'Best First'.
Re: how to read in a binary file and convert it to ascii output
by jonadab (Parson) on Nov 02, 2005 at 22:30 UTC
    If it is, for example, an image file then you're not likely to output it as text to display in a reasonable way

    Sure, just use aalib. HTH.HAND.