in reply to parsing XMLish data

I am afraid gav^ is right: you can't use XML::Parser, or any XML module for what matters, if your data is not well-formed XML.

Which gives you 3 choices: