use CGI; # And other fun stuff $q = new CGI; print $q->header, $q->start_html(-title=>'Title'), p($q->foo); # etc, etc