in reply to Short read error?

Always use strictures: use strict; use warnings;. If you turn on strictures for your code and declare everything where it is initialized, you will find that the print uses the undeclared variable $fileID which may or may bot be your problem, but isn't good in any case.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Short read error?
by JimJx (Beadle) on Feb 19, 2007 at 19:59 UTC
    I went in and added the use strict and declared everything, same error.

    One interesting point, since I got the exact same error message, I went in and removed a couple vars from the declarations just too see what would happen. It didn't choke on that as I expected it to do so it seems that wherever the problem lies, it isn't even getting that far.....