http://qs321.pair.com?node_id=535758


in reply to Best module to scrape tabular data fram web pages?

For your future projects, do consider HTML::TableExtract.

use HTML::TableExtract; my $te = HTML::TableExtract->new; $te->parse(join('', <>)); foreach my $row ($te->first_table_found->rows) { print join(':', @$row), "\n"; }

In reality, given the entire HTML document, you'd probably need to specify a depth/count in the constructor for H::TE.

Cheers,
Matt