ChilliHead has asked for the wisdom of the Perl Monks concerning the following question:
$html=$response->content; $treeparse=HTML::TreeBuilder->new; $treeparse->parse($html); $treeparse->traverse(\&treewalker); $treeparse->delete(); sub treewalker { my ($node, $start, $depth) = @_; if (ref $node) { my $tag = $node->tag; if ($tag eq "span") { .... } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is the span tag supported by HTML:Treebuilder
by cianoz (Friar) on Jan 22, 2001 at 17:32 UTC | |
by ChilliHead (Monk) on Jan 22, 2001 at 18:24 UTC | |
by cianoz (Friar) on Jan 22, 2001 at 20:06 UTC | |
by ChilliHead (Monk) on Jan 22, 2001 at 21:13 UTC |