Search for XML - there has been a bit of discussion of exactly that question recently. To the extent that programmers (or monks) ever come to a concensus - the answer is XML::Twig.
Perl is Huffman encoded by design.
Comment on Re: What is the best XML module to use?