Hero Zzyzzx has asked for the wisdom of the Perl Monks concerning the following question:
I think I may have hit on an undocumented CGI.pm feature, or at least one that I didn't know existed.
When a POST'd form is sent to a CGI.pm enabled script, apparently you can use the query_string() method to create a state-saving parameter list, suitable to be loaded into a new CGI.pm instance to restore the parameters at a later date.
My impression was that the query_string method returned the "unprocessed query string" (quoted from the docs), which led me to believe it returned $ENV{QUERY_STRING}.
Happily, this doesn't appear to be the case. Do other folks use/abuse this feature, and is it something I can rely upon?
-Any sufficiently advanced technology is
indistinguishable from doubletalk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Interesting CGI.pm query_string behavior
by merlyn (Sage) on Aug 13, 2002 at 18:01 UTC | |
by Hero Zzyzzx (Curate) on Aug 13, 2002 at 18:30 UTC | |
by mfriedman (Monk) on Aug 13, 2002 at 19:10 UTC |