If we do this then we can avoid using the match and non-match operator +s and the above can +be written simply as if (/under/) { print "We're talking about rugby\n"; }
The statement above is incorrect. /under/ is the match operator. The missing operator there is the binding operator. And there is no such thing as a "non-match" operator.
In reply to Re: The $_ Special Variable
by jwkrahn
in thread The $_ Special Variable
by chuloon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |