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

Re^4: HTML::Parser fun

by FreakyGreenLeaky (Sexton)
on Jun 06, 2008 at 17:48 UTC ( #690717=note: print w/replies, xml ) Need Help??

in reply to Re^3: HTML::Parser fun
in thread HTML::Parser fun

Thank you very much, Your Mother, I must have glossed over that bit in the docs with bleary eyes glassified by bashing my head against the trees of the forest... or something like that.

I'm going to play around with this over the weekend to get comfy with the idea and if all goes well, it looks like I'll be retooling with XML::LibXML.

Even though I didn't get my origional question answered about HTML::Parser, it looks like I've learnt something new and better!

Replies are listed 'Best First'.
Re^5: HTML::Parser fun
by Your Mother (Chancellor) on Jun 06, 2008 at 18:44 UTC

    You're most welcome. I don't know if XML::LibXML's a cure-all but it's all I've been using for a couple years for parsing (X)HTML when I don't need a stream (which is most of the time, otherwise I like HTML::TokeParser). It'll even validate documents against DTDs. And as a side-effect of picking it up, you'll find you'll learn other useful stuff like xpath and JS/DOM hacking. Mine improved considerably though learning it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://690717]
[holli]: boring

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-09-26 22:26 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (298 votes). Check out past polls.