Hi,
Using the CGI module, how can I retrieve all of the params that have been passed through a form into the program if I don't know what they're called. ie - I know I can do
print "$q->param('my_fieldname')\n";
but if I don't know what the field names are, how can I loop through them as if it were a hash like
foreach $key (keys %ALL_PARAMATERS){
print "$key - $ALL_PARAMATERS{$key}\n";
}
Thanks,
Matt.
Using the CGI module, how can I retrieve all of the params that have been passed through a form into the program if I don't know what they're called. ie - I know I can do
print "$q->param('my_fieldname')\n";
but if I don't know what the field names are, how can I loop through them as if it were a hash like
foreach $key (keys %ALL_PARAMATERS){
print "$key - $ALL_PARAMATERS{$key}\n";
}
Thanks,
Matt.