develooper Front page | perl.perl5.porters | Postings from March 2016

Re: [perl #127684] operators '|||' and '&&&'

Thread Previous | Thread Next
Paul "LeoNerd" Evans
March 10, 2016 12:50
Re: [perl #127684] operators '|||' and '&&&'
Message ID:
On Thu, 10 Mar 2016 04:10:02 -0800
"Ulrich Windl" (via RT) <> wrote:

> then '&&&' would be just the natural thing for the AND-variant.
> Did I overlook something that would have prevented use of those
> operators?

There's no need for a "defined-and" operator in Perl, because there is
no undefined value that is true. The regular "and" operators are fine
in this circumstance.

Paul "LeoNerd" Evans  |

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About