<?xml version="1.0" encoding="windows-1252"?>
<node id="178040" title="Re^3: How do I write subs that take bare blocks as args?" created="2002-06-28 11:31:54" updated="2005-07-19 14:07:22">
<type id="11">
note</type>
<author id="126841">
flounder99</author>
<data>
<field name="doctext">
You are right.  In my example the &lt;code&gt;{ #do stuff }&lt;/code&gt; block will get executed if &lt;em&gt;any&lt;/em&gt; of the members of &lt;code&gt;@product_list&lt;/code&gt; pass the conditions.  You want to know if &lt;em&gt;all&lt;/em&gt; members pass. &lt;p&gt; IIRC won't perl6 have some kind of &lt;code&gt;any&lt;/code&gt; and &lt;code&gt;all&lt;/code&gt; builtins? &lt;P&gt;--&lt;P&gt;flounder</field>
<field name="root_node">
177940</field>
<field name="parent_node">
178028</field>
</data>
</node>
