The stupid question is the question not asked | |
PerlMonks |
Re: Outputing HTML filesby jryan (Vicar) |
on Aug 22, 2001 at 04:58 UTC ( [id://106843]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|