The CGI module is fantastic for doing things like printing headers,
parsing forms, etc. I don't think I've written a CGI script without it.  
Your missing the header. See 'perldoc CGI'.

#!/usr/bin/perl -w

use strict; # Highly recommended!
use CGI qw(:standard);

print header;
print start_html;
print "Hello world!<BR>\n";
print end_html;

Mar 14, 2003 at 8:16am from Francesco del Vecchio:

FdV> [Fri Mar 14 17:03:11 2003] [error] [client 127.0.0.1] Premature end of script 
headers: hello.pl

-- 
http://emerson.wss.yale.edu/perl
Pete Emerson
WSS AM&T Yale University






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to