Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Don't ask to ask, just ask
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-04-19 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls