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.
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.