http://qs321.pair.com?node_id=618161


in reply to Don't re-read file for each new pattern...

the file's content is kept in @strings and the pattern match is done on @strings each time without re-reading the file.

Enjoy,
Mickey