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

Sounds like someone's on win32 and trying to read a binary file in text mode. A judicious application of binmode is probably called for.

The cake is a lie.
The cake is a lie.
The cake is a lie.

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

Replies are listed 'Best First'.
Re^2: Weird Character in File Makes Perl Think it's EOF
by Narveson (Chaplain) on Oct 16, 2008 at 04:19 UTC

    Yes, we had the exact same problem where I work, and binmode solved it.