in reply to Reading multi-level-tag XML file
Don't use XML::Simple. Explore using XML::Twig or other, more functional modules.