something like:$test =~ /^foo /; $test =~ / bar$/;
@compare = "/^foo /", "/ bar$/"; $i=0 foreach (@compare){ unless $test =~ @compare[$i]){ print $test; $i++ }
In reply to Regular expressions and Arrays by wilbur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |