Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: How do I write subs that take bare blocks as args?

by flounder99 (Friar)
on Jun 28, 2002 at 15:31 UTC ( #178040=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: How do I write subs that take bare blocks as args?
in thread How do I write subs that take bare blocks as args?

You are right. In my example the { #do stuff } block will get executed if any of the members of @product_list pass the conditions. You want to know if all members pass.

IIRC won't perl6 have some kind of any and all builtins?

--

flounder


Comment on Re^3: How do I write subs that take bare blocks as args?
Select or Download Code
Re: Re^3: How do I write subs that take bare blocks as args?
by theorbtwo (Prior) on Jun 28, 2002 at 20:44 UTC

    It will. But Quantum::Superpositions will give them to you now. (Warning: This module is superfreaky.)


    We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-10-31 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (221 votes), past polls