binmode $fh, ':raw'; [download]
In reply to Re: Is there a way to open a memory file with binmode :raw? by choroba in thread Is there a way to open a memory file with binmode :raw? by stevieb