New operators jerk my knee jerk
But they come and they go
but it they come they must come correct in perlop, no half assing like Postfix Dereference
assignary ? No
Its conditional assignment
Also not ter-signment , tri-sign, con-sign
$var = $var ? JSON::PP::true : JSON::PP::false; $var ?= JSON::PP::true : JSON::PP::false; $var = $var ? JSON::PP::true : JSON::PP::false; $var ?= JSON::PP::true : JSON::PP::false; ($coo ?= $fudge : $brownie ) ?= $blondie : $oatmeal; ($coo ?= $fudge : $brownie ) ?= $blondie : $oatmeal; ($coo ?= $fudge : $brownie ) ?= $blondie : $oatmeal; ($coo ?= $fudge : $brownie ) ?= $blondie : $oatmeal; $coo = $coo ? $fudge : $brownie; $coo = $coo ? $blondie : $oatmeal;
diabetes, a pleasant way to die?
In reply to Re: RFC: "assignary" operator ?= : ( conditional assignment , golf, death by diabetes )
by Anonymous Monk
in thread RFC: "assignary" operator ?= :
by richard.sharpe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |