in reply to Why does NOT operator on match operator on string concatenation require two pairs of parens?
Not an answer to the immediate question, but I would usually write such a test as:
if ($inst !~ /lea/i) { # do things }
and I would always default to interpolation rather than concatenation so my test would look more like:
if ("$label$inst" !~ /\blea\b/i) { # do things }
|
---|