in reply to CGI query string from GET/POST data
Manually looping through the query parameters won't properly deal with the useful and common idiom of "multiple parameters with the same name" either. Let CGI handle it for you, it deals with multiple named parameters fine.
-Any sufficiently advanced technology is
indistinguishable from doubletalk.
In Section
Cool Uses for Perl