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