use CGI qw/:standard/; my $cgi = new CGI; print $cgi->header('text/plain'); print "testing\n";