https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6360
Henrik Krohns <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Henrik Krohns <[email protected]> --- This "clumsy" code is de facto and readable way to do what is wanted (in any language really): defined $& ? $& : "negative match" --> $match = '(defined $' . '& ? $' . '& : "negative match")'; Forcing version for cosmetic code is just dumb imo. That said, I'm surprised my perl 5.22 does not optimize the "old" way. Looping 100 million times gives 5-13% advantage to latter. :-) Not that it would make any difference for this case. Or the million code snippets out there using the standard way. $foo = defined $bar ? $bar : 0; $foo = $bar // 0; -- You are receiving this mail because: You are the assignee for the bug.
