This is not new: A filehandle is an iterator!
It encapsulates a list of strings (the lines)
The <...> operation requests the next string
Other examples: each, readdir(), glob