Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: HTML::TreeBuilder scan for first table ( HTML::TreeBuilder::XPath )

by mr_ron (Chaplain)
on Jan 25, 2016 at 21:25 UTC ( [id://1153611]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > Or even all in one xpath expression
    
    ...
    >         //td[ @class = 'HeaderTitle' ]
    > } );
    
  2. or download this
    my @headers = $tree->findvalues(
        '(//table[@class="HeaderFrame"])[1]//td[@class="HeaderTitle"]'
    );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-24 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found