<?xml version="1.0" encoding="windows-1252"?>
<node id="632332" title="Re^3: Practical example of &quot;Is Perl code maintainable&quot;" created="2007-08-13 18:42:23" updated="2007-08-13 14:42:23">
<type id="11">
note</type>
<author id="474782">
EvanCarroll</author>
<data>
<field name="doctext">
Bravo, I just wanted to post the suggest for File::stat but you beat me to it. I would suggest you not return -1 for two things that could be a result of a vastly different failure, and I would instead &lt;code&gt;die&lt;/code&gt; if I failed to stat the object. I also wouldn't import stat() as failing to include File::stat would surely result in a runtime error, and not the expected compile-time. (in addition two names for the same function has a potential to confuse, as does pollution is any form)
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-474782"&gt;
&lt;br&gt;&lt;br&gt;Evan Carroll&lt;br&gt;www.EvanCarroll.com
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
632152</field>
<field name="parent_node">
632185</field>
</data>
</node>
