in reply to How can I use a text file as a search string?

Open your file for reading (open), read each line from your file (while and <>), remove trailing new line character (chomp) and search by result string.

Replies are listed 'Best First'.
Re^2: How can I use a text file as a search string?
by btobin0 (Acolyte) on Dec 05, 2007 at 08:41 UTC
    Would I need an open statement for each file or would chomp have a statement to the other file?

      You need open statement for each file.