Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 meditating upon the Monastery: (13)
As of 2014-08-28 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (261 votes), past polls