Simple::Html make simple html, without install Template
my $head = [ 'col_a', 'col_b', 'col_c' ]; my $data = [ [ 1, 2, 3 ], [ 4, 5, 6 ] ]; my $html_table = make_html_table($head, $data);
my $html_body = '<div> ....</div>'; my $html = make_html($html_body, # css => 'body { ... } ', );
To install Simple::Html, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Simple::Html
CPAN shell
perl -MCPAN -e shell install Simple::Html
For more information on module installation, please visit the detailed CPAN module installation guide.