The stupid question is the question not asked | |
PerlMonks |
Interesting CGI.pm query_string behaviorby Hero Zzyzzx (Curate) |
on Aug 13, 2002 at 16:40 UTC ( [id://189867]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|