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
|
---|
Replies are listed 'Best First'. | |
---|---|
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 |
In Section
Seekers of Perl Wisdom