Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: CGI Parameters in order

by erikharrison (Deacon)
on May 03, 2002 at 17:53 UTC ( [id://163857]=note: print w/replies, xml ) Need Help??


in reply to CGI Parameters in order

Matt++

Since you can't guarentee that the values were submitted to CGI.pm in a usable order, then I'd do this if it comes up again.

@value_names = qw(all the values that my script uses in order); foreach $name (@value_names) { print "$name:\t$param{$name}"; }

Note: This little code snippet does not properly handle multi valued fields. It's left as an exercise for someone whose hands aren't sick of typing. ;-)

Cheers,
Erik

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found