I've been parsing XML with XML::Simple. Loved it. But alas! I ran into XML that was too big to bring into memory that way.
So I've moved to XML::LibXML::Reader, as my task maps fairly well to pull-parsing. But there are a few elements I hit where it would be really convenient to have a function call that would return an XML::Simple-style hash for my element and everything below it.
Am I missing a way to do this - maybe by going through a DOM node? Or am I gonna have to roll my own if I want this behavior?