in reply to Re^2: CGI: List all params
in thread CGI: List all params

but I can't actually get their values. Sorry to reply to such an old post. Thank you in advance!

That is because you skipped the requisite reading step. CGI. Basically, you give param an argument, it returns values.

Replies are listed 'Best First'.
Re^4: CGI: List all params
by Anonymous Monk on Apr 01, 2017 at 17:51 UTC
    my $query = CGI->new; my @names = $query->param; foreach my $name (@names) { print $name . ' => ' . param($name) . "<BR />\n"; } print "<P>\n";