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

Actually,  @data = <DATA>; will normally slurp in the whole file.