http://www.perlmonks.org?node_id=1018738


in reply to Re: Seaching for text in string and comparing to xml, if not found print text
in thread Seaching for text in string and comparing to xml, if not found print text

I didn't use it yet but it looks good. And you don't need libxml2

Except that you do, its basically Twig for LibXML, but with without the twig api

I'd stick with twig