Group
Extension

Matches 3

HTML-Make ( B/BK/BKB/HTML-Make-0.17.tar.gz, BKB, 2023; MetaCPAN )
HTML-Make/modules.pl ( view source; MetaCPAN )
#!/home/ben/software/install/bin/perl
use Z;

use MetaCPAN::Client;
use JSON::Create 'create_json';
use Perl::Build::Pod ':all';

# Read the file in & extract the section

my $text = see_also ("$Bin/l
info{fav} = $fav->total ();
	push @modules, \%info;
    }
};
if ($@) {
    print "error: $@";
}
my $mtext = create_json (\@modules, sort => 1, indent => 1);
write_text ("see-also-info.json", $mtext);
HTML-Make ( B/BK/BKB/HTML-Make-0.17.tar.gz, BKB, 2023; MetaCPAN )
HTML-Make/lib/HTML/Make.pod ( view source; MetaCPAN )
r-list/index.html>.

=head3 JSON to HTML

This script converts arbitrary JSON to HTML:

    
    use utf8;
    use JSON::Parse 'parse_json';
    use HTML::Make;
    my $json =<<EOF;
    {"words":[{"j_
ンプリムント"}]}
    EOF
    my $p = parse_json ($json);
    my $html = json_to_html ($p);
    print $html->text ();
    exit;
    
    sub json_to_html
    {
        my ($input) = @_;
        m
 for my $k (@$input) {
                my $li = $element->push ('li');
                $li->push (json_to_html ($k));
            }
        }
        elsif (ref $input eq 'HASH') {
            $elemen
HTML-Make ( B/BK/BKB/HTML-Make-0.17.tar.gz, BKB, 2023; MetaCPAN )
HTML-Make/lib/HTML/Make.pm ( view source; MetaCPAN )
e HTML::Valid::Tagset ':all';
use JSON::Parse '0.62', 'read_json';

my $dir = __FILE__;
$dir =~ s/Make\.pm/Make/;
my $infofile = "$dir/info.json";
my $info = read_json ($infofile);

# This is a list o

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.