in reply to Re: RFC: "assignary" operator ?= :
in thread RFC: "assignary" operator ?= :
convoluted? contrived? dilluted? word? ... unconvincing example
my $is_ready = 1; $is_ready = 0 if $service->not_configured(); $is_ready = 0 if $service->payment->status() ne 'paid'; $is_ready or print "<p>Service ready? <span class="red">no</span></p>"; $is_ready and print gettext('yes ready');
|
|---|