Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://890695]
[choroba]: which lessons?
[prospect]: Learning Perl There where 17 videos.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2017-09-25 10:25 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (279 votes). Check out past polls.