instead ofprint "mf" if grep { $line =~ $_ } @patterns;
foreach my $pattern (@patterns) { print "Match found\n" if $line =~ $pattern; }
In reply to Re^2: Search List
by holli
in thread Search List
by pglenski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |