HTML::Feature::FrontParser - Inner dispatcher.
use HTML::Feature::FrontParser; my $front_parser = HTML::Feature::FrontParser->new( context => $html_feature ); my $html = $front_parser->parse($indata); # $in_data is either of a URL or a string of HTML(scalar reference) or a HTTP::Request object
HTML::Feature::FronParser is an Inner dispatcher. It detects the method that should be called in HTML::Feature.
parse($url); # or parse($html_ref); # or parse($http_response);
Parses the given argument. The argument can be either a URL, a string of HTML (must be passed as a scalar reference), or an HTTP::Response object. HTML::Feature will detect and delegate to the appropriate method (see below)
accessor method that points to HTML::Feature::Fetcher object.
accessor method that points to HTML::Feature::Decoder object.
Takeshi Miki <miki@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::Feature, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Feature
CPAN shell
perl -MCPAN -e shell install HTML::Feature
For more information on module installation, please visit the detailed CPAN module installation guide.