Posts by César Cabral • 11 points
1 post
-
1
votes0
answers73
viewsQ: End of script output before headers - Perl
Why so: print "Content-type: text/html\n\n"; print "<H1>Hello World</H1>\n"; Works! And so: my $tpl = HTML::Template->new(filename => 'index.html'); print "Content-Type:…