| Catmandu::Importer::HTML(3pm) | User Contributed Perl Documentation | Catmandu::Importer::HTML(3pm) |
Catmandu::Importer::HTML - An HTML importer
# From the command line
$ catmandu convert HTML to YAML < ex/test.html
# From Perl
use Catmandu;
my $importer = Catmandu->importer('HTML',file => 'ex/test.html');
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});
This is a Catmandu::Importer for converting HTML data using the HTML::TokeParser parser.
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited.
Catmandu::Importer, HTML::TokeParser
| 2023-02-14 | perl v5.36.0 |