develooper Front page | perl.perl5.porters | Postings from August 2021

RE: RFC? pre-RFC? Return of the Jedi^W err/dor

Thread Previous | Thread Next
From:
Carl Friedberg
Date:
August 17, 2021 19:47
Subject:
RE: RFC? pre-RFC? Return of the Jedi^W err/dor
Message ID:
BL3PR04MB8169125348346835CFD18366C3FE9@BL3PR04MB8169.namprd04.prod.outlook.com
> FWIW, the name for the "dor" operator in Raku is "orelse", 
> which at least to me sounds good and reminds me somewhat
> of the implicit ternary that is behind the dor:
>
> defined($foo) ? $foo : $bar
>          $foo    orelse $bar
>
>Best,
>Tobias
+1
Carl Friedberg


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About