http://www.perlmonks.org?node_id=528642


in reply to Re: CGI - How to use upload_hook and query the query string ?
in thread CGI - How to use upload_hook and query the query string ?

I thought that by default CGI.pm did not parse the QUERY_STRING if it was a POST request... You actually have to edit the code to get it to parse and combine both the GET and POST parameters together.

Search the source for CGI.pm for the string "Some people want to have their cake and eat it too".

  • Comment on Re^2: CGI - How to use upload_hook and query the query string ?

Replies are listed 'Best First'.
Re^3: CGI - How to use upload_hook and query the query string ?
by ikegami (Patriarch) on Feb 07, 2006 at 23:07 UTC
    Your right. I looked at the source, but I looked too quickly and mistook something else for the parsing of QUERY_STRING. They'll have to modify their CGI.pm or use my alternate solution.
      I've gone down the route of putting the parameters in the URL action of the form as simple query paramaters which seems to work just fine. Many thanks for all the suggestions.