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,
|
|---|