in reply to html parsing

See for example App::scrape, which is basically a simple application of HTML::Selector::XPath to extract data from HTML.

There also are many other general scrapers, like Web::Scraper, Web::Query.

Most of them build on something like HTML::TreeBuilder.