note
thelenm
<p>Could you post a snippet of code that shows what you're currently doing? I would think that at the time when you print out the results, you could just print "0" if you detect that no entries exist. Depending on how you're building the hash, "detecting no entries" could mean using <code>exists</code>, or <code>defined</code>, or <code>scalar keys %{$hash{'key'}}</code>, or something else.</p>
<div class="pmsig"><div class="pmsig-141380">
<p>-- Mike</p>
<p>-- <br />
<tt><i>XML::Simpler does not require XML::Parser or a SAX parser.
It does require File::Slurp.</i><br />
-- [grantm], perldoc XML::Simpler</tt></p>
</div></div>
322442
322442