http://qs321.pair.com?node_id=1231811


in reply to XML to Hash Truncating Keys Problem

While the usage of XML::Simple is discouraged even by its author, it should do exactly what you want here.