Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Help with HTML::Element->splice_content

by 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.


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 09: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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://513724]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.