HTML::Zoom::Parser::HTML::Parser - Glue to power HTML::Zoom with HTML::Parser
version 1.130810
my $zoom = HTML::Zoom->new( { zconfig => { parser => 'HTML::Zoom::Parser::HTML::Parser' } } ); $zoom->from_html($template); # etc ...
This module provides a bridge to HTML::Parser to be used with HTML::Zoom. You may want to use this over Parser::BuiltIn for improved handling of malformed html. There could potentially be a performance boost from HTML::Parser's XS bits, though I've not benchmarked.
Using this Parser over BuiltIn should require no different usage with HTML::Zoom.
HTML::Zoom
HTML::Parser
Matthew Phillips <mattp@cpan.org>
This software is copyright (c) 2013 by Matthew Phillips.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTML::Zoom::Parser::HTML::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Zoom::Parser::HTML::Parser
CPAN shell
perl -MCPAN -e shell install HTML::Zoom::Parser::HTML::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.