It sounds like you do not yet have much time invested in
XML::Parser. If that is the case, I recommend switching to a parser with a method-based interface. I switched to
XML::Twig because I found it easier to learn than some of the other parsers. It has a good
tutorial , a handy
quick reference and its author provides great support. It was much easier for me to use than
XML::Parser.