Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: More efficient use of HTML::TokeParser::Simple

by GrandFather (Saint)
on Oct 30, 2008 at 19:52 UTC ( #720567=note: print w/replies, xml ) Need Help??


in reply to Re^4: More efficient use of HTML::TokeParser::Simple
in thread More efficient use of HTML::TokeParser::Simple

The HTML::TreeBuilder documentation is a good place to start. It says that elementify ():

This changes the class of the object in $root from HTML::TreeBuilder to the class used for all the rest of the elements in that tree (generally HTML::Element). Returns $root.

and goes on to say:

For most purposes, this is unnecessary, but if you call this after (after!!) you've finished building a tree, then it keeps you from accidentally trying to call anything but HTML::Element methods on it. ...

Perl reduces RSI - it saves typing
  • Comment on Re^5: More efficient use of HTML::TokeParser::Simple

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2021-10-18 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?