in reply to Getting (famous) error during running perl script
A common cause of this error is blank lines at the end of your input file. In that case, the program usually runs correctly except for the warnings.