Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: CGI: List all params

by Anonymous Monk
on Mar 01, 2011 at 07:32 UTC ( #890695=note: print w/replies, xml ) Need Help??


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";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://890695]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-05-01 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (544 votes). Check out past polls.