Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to pull in all params that are numbered

by imp (Priest)
on Jun 07, 2007 at 01:29 UTC ( [id://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; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-18 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found