Mike Ni wrote:
Hey everyone,


While tracing through the perl script file, I kept running into environment variable "REQUEST_METHOD".



Which is a little suspect, because you should be using CGI.pm or something better (not just similar) to hide the wrangling of the REQUEST_METHOD, etc.



I looked for where it was defined, yet no luck.
However, it works.


I think I am missing somethign here. I am guessing this variable is defined by
the Apache web server. Yet, I am not sure.



Nope not missing anything, you are correct Apache sets a number of environment variables that CGI programs can then wrangle however they so choose. The nice thing about CGI.pm is that it does this for you and provides a very clean Perl interface to it all.


Anyone see the same things?

This does depend on the server implementation......


http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to