:: part in the ternary $cond ?? $true :: $false
should be changed to something else, so:: can unambiguously refer to
compile-time bindings.
After much discussion, ?? !! emerged as the least insane alternative,
and larry approved
that change. bsmith then went ahead, committed the change in Pugs, and fixed all tests
and examples to reflect the new syntax; iblech did the same for PIL2JS.
Re: (Score:1)
Ugh. I’m not sure I’ll use the ternary ever again now. :-(
And how does that differentiate from the “booleanify” idiom
!!$foo?Re: (Score:2)
?$foonowadays.Personaly I think ?? !! is nicely mnemonic, but old habits die hard...