programming-examples/perl/CGI/Producing Human-Readable HTML.pl

10 lines
199 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
use warnings;
use strict;
use CGI::Pretty qw(:standard);
my $cgi=new CGI::Pretty;
print header,
start_html("Pretty HTML Demo"),
ol(li(["First","Second","Third"])),
end_html;