ProgrammingAce has asked for the wisdom of the Perl Monks concerning the following question:
Ok, this has been driving me nuts forever (actually a year and a half, but you get the point). I've been trying to get CGI to work on the free service tripod (yes, i know that's my main problem but read on...). To get to the end of the story, can anyone tell me why this script give me the error: "This page does not return a header"
And yes, I'm sure that it has the right path to perl. If I manually print the header, it gives me the same problem. Does anyone have any ideas?
- Ace "Two programmers walk into a bar, the third ducks"
#!/usr/local/bin/perl use CGI qw(:standard); use strict; print header; print "<p>Hello, World</p>";
And yes, I'm sure that it has the right path to perl. If I manually print the header, it gives me the same problem. Does anyone have any ideas?
- Ace "Two programmers walk into a bar, the third ducks"
Edit ar0n -- title change
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Script not returning header
by BrentDax (Hermit) on Mar 09, 2002 at 08:29 UTC | |
Re: Script not returning header
by fuzzyping (Chaplain) on Mar 09, 2002 at 05:03 UTC | |
by theguvnor (Chaplain) on Mar 09, 2002 at 05:21 UTC | |
Re: Script not returning header
by screamingeagle (Curate) on Mar 09, 2002 at 04:02 UTC | |
by Chady (Priest) on Mar 09, 2002 at 08:48 UTC | |
Re: Script not returning header
by ProgrammingAce (Sexton) on Mar 09, 2002 at 09:07 UTC | |
by Kanji (Parson) on Mar 09, 2002 at 09:29 UTC | |
by gellyfish (Monsignor) on Mar 09, 2002 at 12:32 UTC | |
Re: Script not returning header
by gellyfish (Monsignor) on Mar 09, 2002 at 12:09 UTC |
Back to
Seekers of Perl Wisdom