in reply to Easy way to run tests on many CGI params?
You can put all the parameters into a hash by using the param() method of the CGI module in list context. This returns you all the parameter names. Eg something like
my %hash = map { $_ => $cgi->param($_) } $cgi->param();
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: Easy way to run tests on many CGI params?
by merlyn (Sage) on Aug 31, 2000 at 03:10 UTC | |
by ncw (Friar) on Aug 31, 2000 at 11:35 UTC | |
by merlyn (Sage) on Aug 31, 2000 at 14:37 UTC |