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

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

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
March 10, 2016 12:50
Subject:
Re: [perl #127684] operators '|||' and '&&&'
Message ID:
20160310125018.54f2a812@shy.leonerd.org.uk
On Thu, 10 Mar 2016 04:10:02 -0800
"Ulrich Windl" (via RT) <perlbug-followup@perl.org> 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

leonerd@leonerd.org.uk
http://www.leonerd.org.uk/  |  https://metacpan.org/author/PEVANS

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