in reply to The $_ Special Variable
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.
|
|---|