in reply to $ENV{'REQUEST_METHOD'} undefined?
Though I can't relate the error message to line number 10 (you should have included line numbers in your listing), I agree with you that the environment variable REQUEST_METHOD is not defined. This is, however, not a problem related to Perl, so maybe you should post your question at a forum related to the webserver you are using.
Since you complain that the same error is true when you invoke the script from the command line, I have to ask you: Are you sure that you had defined those environment variables on the command line, before invoking your program?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $ENV{'REQUEST_METHOD'} undefined?
by Lamont85 (Novice) on Nov 30, 2009 at 12:52 UTC | |
by rovf (Priest) on Nov 30, 2009 at 13:36 UTC |