<?xml version="1.0" encoding="windows-1252"?>
<node id="241107" title="Re^3: Flag variables" created="2003-03-07 06:05:16" updated="2004-08-22 10:24:19">
<type id="11">
note</type>
<author id="186362">
adrianh</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;em&gt;Now if grep were smart enough to shortcut when called in "boolean" context, then there would be no reason not to use it. Of course, "boolean" context per se won't exist until perl 6... &lt;/em?&gt;&lt;/blockquote&gt;

&lt;p&gt;Until then, using &lt;code&gt;first&lt;/code&gt; from [cpan://List::Util] is one alternative.&lt;/p&gt;</field>
<field name="root_node">
239992</field>
<field name="parent_node">
240055</field>
</data>
</node>
