programming-examples/perl/CGI/Hello World in Object-Oriented Fashion.pl
2019-11-15 12:59:38 +01:00

13 lines
194 B
Perl

#!/usr/bin/perl -T
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header;
print $cgi->start_html('Hello World');
print $cgi->h1('Hello World');
print $cgi->end_html();
exit;