First of all, you forgot to create a new CGI object, like this:
my $query = new CGI;As for your question either of these will work:
print "Content-type: text/html\n\n";or
print $query->header();In reply to Re: Outputing HTML files
by jryan
in thread Outputing HTML files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |