http://qs321.pair.com?node_id=656593


in reply to CGI: List all params

It's right there in the CGI documentation (perldoc CGI):

FETCHING THE NAMES OF ALL THE PARAMETERS PASSED TO YOUR SCRIPT: @names = $query->param If the script was invoked with a parameter list (e.g. "name1=value1&name2=value2&name3=value3"), the param() method w +ill return the parameter names as a list. If the script was invoke +d as an <ISINDEX> script and contains a string without ampersands (e.g. "value1+value2+value3") , there will be a single parameter name +d "key- words" containing the "+"-delimited keywords.
90% of every Perl application is already written.
dragonchild