Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Help with HTML::Element->splice_content

by santonegro (Scribe)
on Dec 02, 2005 at 21:32 UTC ( #513724=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513724]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-11-28 05:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found