in reply to Re^3: RFC: "assignary" operator ?= :
in thread RFC: "assignary" operator ?= :

Personally I feel this just obfuscates the problem at hand, but I dislike/hate statement-modifiers in general.

$var1 and die "ERROR: ..."; $var1 = $var2;

To **me** is extremely better readable (and thus maintanable) than your suggestion. TIMTOWTDI.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^5: RFC: "assignary" operator ?= :
by ikegami (Patriarch) on Dec 07, 2019 at 19:08 UTC

    Personally, I despise people that hide die and other flow control statements. (Put a line break before the and and a blank line after die!)

    Either way. The point is the separation of the two actions.