develooper Front page | perl.perl5.porters | Postings from December 2017

Re: [perl #132607] chained comparison

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
December 20, 2017 16:39
Subject:
Re: [perl #132607] chained comparison
Message ID:
20171220163915.756eb508@shy.leonerd.org.uk
On Tue, 19 Dec 2017 09:10:57 +0100
demerphq <demerphq@gmail.com> wrote:

> I so look forward to this, both as a patch i can learn from and as a
> feature I would enjoy. ++Zefram.

+1

I'd be happy to accept some new warnings, in exchange for being able to
e.g.:

  grep { $min <= $_ <= $max } @numbers

-- 
Paul "LeoNerd" Evans

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

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