It sounds like you might be using XML::Simple. I would not recommend that module except for the very simplest of XML inputs, of which your XML is apparently not one, because the data structures it outputs are often unreliable, which would be exactly the problem you are experiencing. As a replacement I could suggest XML::Rules, which provides more reliable data structures as its output. Other good modules for reading XML are XML::LibXML (which supports XPath expressions) and XML::Twig.
Update: Added the bit about unreliable data structures.
In reply to Re: If hash not defined help
by haukex
in thread If hash not defined help
by johnfl68
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |