foreach my $line (<INPUT>) { next if (grep{$line =~ /\Q$_\E/}@list); print $line; }
In reply to Re^4: Unix 'grep -v' equivalency in Perl (was: Perl Regex Question)
by tadman
in thread Unix 'grep -v' equivalency in Perl (was: Perl Regex Question)
by quasimojo321
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |