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