in reply to Help with HTML::Element->splice_content

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.

Replies are listed 'Best First'.
Re^2: Help with HTML::Element->splice_content
by tphyahoo (Vicar) on Dec 06, 2005 at 14:37 UTC
    Lower case b works on windows but not on linux. In any case, thanks for pointing that out, because it needs to work on both.