in reply to Reading past an artificial EOF?

Because you are using windows, you need to set up binmode() on the file you are reading from...

Chady | http://chady.net/