in reply to Re: Trying to make a search Part 2
in thread Trying to make a search Part 2

A filehandle read called in a list context populates the whole file into the list, one line per element.