http://www.perlmonks.org?node_id=862897


in reply to Quering database data in perl cgi script

print "<html>"; print '<head>'; print "Content-Type: text/html\n\n";

One problem is that it's traditional to send the tags after the headers. Try something like...

print "Content-Type: text/html\n\n"; print "<html>"; print '<head>';

Replies are listed 'Best First'.
Re^2: Querying database data in perl cgi script
by Anonymous Monk on Oct 01, 2010 at 07:01 UTC
    rowdog, you are a comic genius -- RFCs are traditional, ROFLMAO!!!