Query: web::scraper::libxml
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Web::Scraper::LibXML(3pm) User Contributed Perl Documentation Web::Scraper::LibXML(3pm)NAMEWeb::Scraper::LibXML - Drop-in replacement for Web::Scraper to use LibXMLSYNOPSISuse Web::Scraper::LibXML; # same as Web::Scraper my $scraper = scraper { ... };DESCRIPTIONWeb::Scraper::LibXML is a drop-in replacement for Web::Scraper to use the fast libxml-based HTML tree builder, HTML::TreeBuilder::LibXML. This is almost identical to HTML::TreeBuilder::LibXML's replace_original installer, like: use HTML::TreeBuilder::LibXML; HTML::TreeBuilder::LibXML->replace_original(); use Web::Scraper; my $scraper = scraper { ... }; # this code uses LibXML parser which overrides HTML::TreeBuilder::XPath's new() constructor so that ALL of your code using HTML::TreeBuilder::XPath is switched to the libxml based parser. This module, instead, gives you more control over which TreeBuilder to use, depending on the site etc.SEE ALSOWeb::Scraper HTML::TreeBuilder::LibXML perl v5.14.2 2009-07-09 Web::Scraper::LibXML(3pm)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Introduction |
Detecting unused variables... |
Weird 'find' results |
A (ksh) Library For and From UNIX.com |