in reply to How else can I read from a file without using a while loop, testing for the EOF?
@lines = <FILE>; [download]
Originally posted as a Categorized Answer.