<?xml version="1.0" encoding="windows-1252"?>
<node id="594159" title="Re^3: asterisk use" created="2007-01-11 09:19:47" updated="2007-01-11 04:19:47">
<type id="11">
note</type>
<author id="588244">
smist</author>
<data>
<field name="doctext">
In the subroutine named "wanted" that find2perl creates there is usage of the "&amp;&amp;" operator. If I understand it correctly, it's evaluating each expression, and if they evaluate to "true" it prints $name. Is the last "&amp;&amp;" necessary? There are no expressions after it; just goes to the print statement. 
&lt;br&gt;
&lt;br&gt;
&lt;code&gt;
sub wanted {
    my ($dev,$ino,$mode,$nlink,$uid,$gid);

    (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &amp;&amp;
    -d _ &amp;&amp;
    print("$name\n");
    
}
&lt;/code&gt;</field>
<field name="root_node">
593984</field>
<field name="parent_node">
594021</field>
</data>
</node>
