in reply to Parse HTML using HTML::TreeBuilder
Get a better/more declarative tool! Web::Query
edit: I misunderstood the HTML, thanks to Anonymonk below for pointing this out. oldwarrior32, please post your full HTML document, not a debug dump.
From there, you can traverse to your actual, unmentioned destination in the DOM tree.use Web::Query qw(); my $w = Web::Query->new_from_html($html); my $the_td_element_you_want = $w->find('td:contains("@0.1.9.0.0.0.0.4.1.9.10")');
edit: I misunderstood the HTML, thanks to Anonymonk below for pointing this out. oldwarrior32, please post your full HTML document, not a debug dump.
In Section
Seekers of Perl Wisdom