There are no XML parsers in the official Perl distribution.
XML::Simple is probably the most popular parser, but it's a really poor parser. Its own documentation instructs you not to use it. Other than XML::Simple, the most popular XML parsers are XML::LibXML (a very fast, full-featured parser with a DOM-based interface) and XML::Twig (a reasonably fast full-featured parser with a more Perlish interface).
I've done extensive benchmarking in the past, and the only one faster than XML::LibXML was XML::Bare[1]. No other was even close. XML::Bare has a number of problems, though. 1) You must decode the document before parsing it. 2) It doesn't support namespaces or namespace prefixes. 3) While it can support virtually all XML formats, there are some it can't. XHTML is one it can't. 3) It's tricky to extract information from the tree (since it has the same somtimes-array-sometimes-elememt problem XML::Simple has).
XML::LibXML was faster at parsing than XML::Bare, but XML::Bare was faster when you also included the time to extract information from the tree. The time taken to strip the prefixes from the elements (since XML::Bare can't handle them) was included in the benchmark.
|