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

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.