Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: On the rejected additions to List::Util

by Prof Vince (Friar)
on May 08, 2009 at 07:44 UTC ( #762768=note: print w/replies, xml ) Need Help??


in reply to Re: On the rejected additions to List::Util
in thread On the rejected additions to List::Util

List::MoreUtils::any() also stops looking as soon as one of the blocks returned true. Check :

perl -MList::MoreUtils=any -E 'any { say $_; $_ < 5 ? 0 : 1 } 1 .. 10'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762768]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-01-24 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (205 votes). Check out past polls.