my @badwords = qw(smurf fork larf); my $bwregex = join('|', @badwords); ... next if(/$bwregex/o);
In reply to Re: test if a string contains a list member
by Anonymous Monk
in thread test if a string contains a list member
by mull
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |