This module provides some methods like DOM. This module is not strict
about XHTML format because many of HTML pages are not strict. You know,
many pages use <br> elemtents instead of <br/> and have <p> elements
which are not closed.
WWW: http://search.cpan.org/dist/p5-HTML-TagParser/