Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: how to pull in all params that are numbered

by imp (Priest)
on Jun 07, 2007 at 01:29 UTC ( #619710=note: print w/ replies, xml ) Need Help??


in reply to how to pull in all params that are numbered

use CGI; my $cgi = CGI->new; # using a list of parameters for my $key ($cgi->param()) { printf "%s=%s\n", $key, $cgi->param($key); } # Using a hash of key => value my %params = $cgi->Vars(); while (my ($key, $value) = each %params) { printf "%s=%s\n", $key, $value; }


Comment on Re: how to pull in all params that are numbered
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://619710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-28 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls