The other could be:unless (/cr\d$/) { print "This entry didn't match!\n"; }
if ($_ !~ /cr\d$/) { print "Didn't match.\n"; }
In reply to Re: How do you match
by chromatic
in thread How do you match
by Limo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |