in reply to
Re: Process input file
in thread
Process input file
In other words, sounds like the OP should
binmode
the file handle (to ":raw" or to the proper encoding).
Comment on
Re^2: Process input file
In Section
Seekers of Perl Wisdom