in reply to Weird Character in File Makes Perl Think it's EOF

It sounds like binmode would enable you to read past byte value 26, but then you lose the handling of the platform dependent bytes indicating end-of-line.

This is only an issue if your file is supposed to be treated a text file with new-lines in it.

The existence of a byte that doesn't usually appear in text files suggests that you're processing a binary file anyway, but can you confirm whether this is the case?

--
.sig : File not found.

  • Comment on Re: Weird Character in File Makes Perl Think it's EOF