in reply to Re: How to read the regular expression from another file?in thread How to read the regular expression from another file?
In the spirit of TIMTOWDI, lines 6-8 could also be replaced by:
print grep { /$pattern/ } <F2>; [download]
--MidLifeXis