Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: CGI: List all params

by Anonymous Monk
on Mar 01, 2011 at 07:32 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://890695]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found