in reply to Re: Walk through HTML::Treebuilder
in thread Walk through HTML::Treebuilder
add_address_attr($tree); sub add_address_attr { my $self = shift; for (@{$self->{'_content'}}) { if (ref $_) { # element $_->attr(addr => $_->address ); add_address_attr ($_); # recurse } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Walk through HTML::Treebuilder
by perlmonkdr (Beadle) on Jan 06, 2008 at 15:55 UTC | |
|
Re^3: Walk through HTML::Treebuilder
by Tux (Canon) on Jan 08, 2008 at 11:47 UTC |