Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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'


Comment on Re^2: On the rejected additions to List::Util
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762768]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-08-05 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (79 votes), past polls