Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Avoiding escaped child elements with HTML::TreeBuilder::XPath or HTML::Element

by haukex (Archbishop)
on Nov 15, 2021 at 12:50 UTC ( [id://11138833]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub html_trim {
        my $elem = shift;
    ...
    for my $elem ($xhtml->findnodes('//div/ul/li')) {
        html_trim($elem)
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found