# print "Content-Type: text/html\n\n"; print $query->header(), $query->start_html(); # rest of code... print $query->end_html();