Hi,
I am having a simular problem, but the EOF is found if a non-ASCII character is found in the input string, like a German U or character of the same kind. Depending on the file it happens at the offending line. The input file has been produced by EXCEL and making a CSV-file from it on a Windows computer, while the PERL-script is running on a Linux machine.
Kind regards,
Bert Mengerink
SPOORHOBBY