in reply to Error from CGI on new server
You aren't printing an HTTP content-type header. Try:
#!/usr/bin/perl print "Content-type: text/plain\n\n"; print "Hello World!\n";
Ovid has a Web Programming with Perl course that you might benefit from.
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl Errors
by serambin (Novice) on Sep 05, 2002 at 21:53 UTC |