Well I'll show you the way I do it in CGI.pm
use CGI;
my $obj = new CGI;
@names = $obj->param();
undef my $form;
for (@names) {
($name,$value) = split(/=/, $_);
if ($name eq '
select box name') {
push(@
array name,$obj->param($_));
} else {
$form{$_} = $obj->param($_);
}
}
the things I've highlighted in bold you might want to change. What it does will check for your select box name. If it finds it, it will put all selections into an array. If it does not find the select box name it will put those values into this:
$form{'
form input name'}
------------------
Powered by
ZCom Bulletin Boards