Help for this page
use XML::LibXML; ... recover => 1, # handle marginal HTML ); print $dom->toString;