One cool thing about XML::TreeBuilder is the objectify_text method, which turns plain text nodes into pseudo-tags so you can drill down thru the XML and look for particular text.
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality