When reading binary files on Windows, you need to set
'binmode' immediately after opening the file. You are
reading (and processing) a false 'end-of-file' after 29
lines.
For more information, see 'perldoc -f binmode'.
Then you can figure out how to process the binary data.
YuckFoo
Comment on Re: Read PDF files & do regex through Perl.