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

Um, then its not a QUERY, by definition, are GET requests with the QUERY part of the url containing the query :)

Replies are listed 'Best First'.
Re^8: How to parse URL in CGI.pm
by asafp (Novice) on Dec 07, 2010 at 15:28 UTC
    Yes, I figured this out...

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

      Why are you asking about CGI.pm and then asking about how to do things without using it?

      Just use CGI.pm and be done with it.

      CGI.pm knows about mod_perl.

        He can't, CGI expects a URL encoded form, but he's getting something slightly different. As such, he needs to do his own query parsing.
        The problem is that the query_string in CGI.pm doesn't give my the required string and I need to parse it by myself

        I understood that the way of doing it is to look for the ENV.

        My question is:

        Is there an ENV which gives my the message body in case of a POST request?

        Thanks!