laziness, impatience, and hubris | |
PerlMonks |
Re^4: RFC: "assignary" operator ?= :by choroba (Cardinal) |
on Dec 08, 2019 at 20:49 UTC ( [id://11109854]=note: print w/replies, xml ) | Need Help?? |
> I like the compound operator x!! It's a bit different than the if/else or ternary it's used to replace, though. Unlike them, the x!! evaluates the left hand side even if the condition is zero. Cf. versus
Now %h is the same, but $t is different.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|