in reply to Re^4: How to parse URL in CGI.pm
in thread How to parse URL in CGI.pm

The environment variable is part of the CGI interface. If your script is being provided a CGI interface, it will be present. Otherwise, it won't.

mod_perl doesn't necessarily present a CGI interface to your module, but it doesn't preclude it either.

Replies are listed 'Best First'.
Re^6: How to parse URL in CGI.pm
by Anonymous Monk on Dec 07, 2010 at 09:16 UTC
Re^6: How to parse URL in CGI.pm
by asafp (Novice) on Dec 07, 2010 at 09:49 UTC
    What if the call is POST?

    It seems that the ENV is empty
      Um, then its not a QUERY, by definition, are GET requests with the QUERY part of the url containing the query :)
        Yes, I figured this out...

        Is there a way of getting the message body without using the CGI.pm?