logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Exporter::HTML - a HTML exporter

Description

       This is a Catmandu::Exporter for converting Perl into HTML.

Name

       Catmandu::Exporter::HTML - a HTML exporter

See Also

       Catmandu::Importer::LIDO, HTML::TokeParser

perl v5.36.0                                       2023-02-14                      Catmandu::Exporter::HTML(3pm)

Synopsis

           # From the commandline
           $ catmandu convert HTML --fix myfixes to HTML < ex/test.html

           # From Perl

           use Catmandu;

           # Print to STDOUT
           my $exporter = Catmandu->exporter('HTML');

           $exporter->add_many($arrayref);
           $exporter->add_many($iterator);
           $exporter->add_many(sub { });

           $exporter->add($hashref);

           printf "exported %d objects\n" , $exporter->count;

           # Get an array ref of all records exported
           my $data = $exporter->as_arrayref;

See Also