in reply to Puzzled about <F>
I've never had any problems with ActivePerl reading files with either kind of line ending. One possibility (although it seems unlikely given how the file was created) is that there is a ^Z on the first line of the file. Try binmode(FH) after the open and see if that helps.