HTML-Tree is a Perl library for parsing HTML into DOM-like trees. It includes HTML::TreeBuilder and HTML::Element.
HTML-Tree is the most popular Perl library for parsing HTML into DOM-like trees. It includes HTML::TreeBuilder and HTML::Element.
There are a number of other modules that build on top of HTML-Tree. Some notable ones are:
HTML::TreeBuilder::XPath — adds XPath support to HTML::Element.
pQuery — allows jQuery-like queries
WWW::Mechanize — automated web browsing in Perl