web::scraper::libxml(3pm) debian man page | unix.com

Man Page: web::scraper::libxml

Operating Environment: debian

Section: 3pm

Web::Scraper::LibXML(3pm)				User Contributed Perl Documentation				 Web::Scraper::LibXML(3pm)

NAME
Web::Scraper::LibXML - Drop-in replacement for Web::Scraper to use LibXML
SYNOPSIS
use Web::Scraper::LibXML; # same as Web::Scraper my $scraper = scraper { ... };
DESCRIPTION
Web::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 ALSO
Web::Scraper HTML::TreeBuilder::LibXML perl v5.14.2 2009-07-09 Web::Scraper::LibXML(3pm)
Related Man Pages
xml::libxml::xpathexpression(3) - osx
xml::libxml::xpathexpression(3) - centos
xml::libxml::comment(3pm) - debian
xml::libxml::nodelist::iterator(3pm) - debian
xml::libxml::xpathexpression(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file