Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: HTML content editing using HTML::TreeBuilder

by Tux (Canon)
on Apr 10, 2019 at 07:58 UTC ( [id://1232391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $a ($root->look_down (_tag => "a", href => qr{some url matc
    +h})) {
        say "Found a tag with href to ", $a->attr ("href"), " and text ", 
    +$a->as_text;
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-23 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found