On Thursday, Sep 11, 2003, at 06:05 US/Pacific, Sara wrote: [..]
and simply
print "Content-Type: text/html\n";
print "Hello World\n";
that form will NOT have the separator and I expect you see something like: [..]
: [jeeves: 45:] test_cgi GET simple.cgi : Content-Type: text/plain : hello World : [jeeves: 46:]
which is NOT a correct message to send back to the web-server. You will need to have a 'blank line' between the Content-Type and the 'hello world'.
but the: #!/usr/bin/perl -w use strict; use CGI qw(&header); print &header; print "Hello world";
should work since the CGI::header() will put the additional CRLF in play and separate them...
You do have the #! line with the -w flag set?
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]