in reply to Re^3: Merging files, 1 line for every 10in thread Merging files, 1 line for every 10
It deals with the edge case where $line gets a value that is false before the actual end of file.