use strict; use CGI; my $q = new CGI; print $q->header; print $q->start_html('Hello World'); print $q->h2('Hello, world!'); print $q->end_html;