in reply to Re^3: Merging files, 1 line for every 10
in 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.

True laziness is hard work
  • Comment on Re^4: Merging files, 1 line for every 10