in reply to Re^2: my (0?$a:$b): a koan
in thread my (0?$a:$b): a koan

I'm guessing that its author didn't anticipate whatever weird optree you get from a ternary inside a "my".

There is no "weird optree". By the time Deparse gets its hands on the optree, the ternary has been optimised away.

What's left is exactly the same as if the ternary (and $a) had never existed in the source.

If there is a bug, then it is that the optimisation doesn't undo the local declaration of $a.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.