|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Help with HTML::Element->splice_contentby santonegro (Scribe) |
| on Dec 02, 2005 at 16:32 UTC ( [id://513724]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Another thing: you can't be using TreeBuilder - you spelled the "b" with lowercase and it should be uppercase.
At any rate, just break the tree into elements, and traverse or map through them and then ->detach() the ones that you want gone... example to follow.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||