If we do this then we can avoid using the match and non-match operators and the above can +be written simply as if (/under/) { print "We're talking about rugby\n"; }