©Mike Moxcey 1999

Printing in Perl

To write the CGI header for a web page,
merely print to standard out
using a print statement with two newlines similar to C

The stuff to be printed is in quotes

Every Perl command ends with a semicolon

print "Content-type: text/html\n\n";


home next