Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Regex to match first html tag previous to text

by aquarium (Curate)
on Nov 29, 2007 at 04:26 UTC ( [id://653768]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex to match first html tag previous to text
in thread Regex to match first html tag previous to text

parsing vs access methods does get blurry...anyway, in the end we're interested in getting to point B and not that interested in the trip itself...whether parsing or using an access method.
to this point...i think (possibly) best for this problem would be find_link() method of WWWW::Mechanize. not as tedious as Xpath or HTML::Tree etc.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re^3: Regex to match first html tag previous to text

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found