note
epoptai
Two notes on the use of [cpan://XML::Simple]:
<p>
<ol>
<li>Since malformed XML is fatal to the parser you may
want to wrap its evocation in an [eval] block.
<li>Use forcearray to avoid problems with references when
the returned structure has empty elements.
</ol><p>
<code>
$hashref = eval{ XMLin($XMLinaString, forcearray => 1) };
xml_parse_failure($@) if $@; # an error trapping sub
</code>
<p><font size="-1">
--<br>
Check out my <A HREF="/index.pl?node=Perlmonks+Related+Scripts">Perlmonks Related Scripts</A> like <A HREF="/index.pl?node=framechat">framechat</A>,
<A HREF="/index.pl?node=reputer">reputer</A>, and <A HREF="/index.pl?node=xNN">xNN</A>.</font>
92749
92756