in reply to Re: cgi.pm: popup_menu
in thread cgi.pm: popup_menu

its not working though, and when i do this

my @temp = keys %labels;
my $temp2;
foreach(@temp) {
$temp2.="'$_'";
$temp2.=",";
}
chop $temp2;

print $q->popup_menu(-name=>'menu_name', -values=>$temp2, -default => $q->param('product'), -labels=>%labels);

It just prints $temp2 as one value.

Replies are listed 'Best First'.
Re: cgi.pm: popup_menu
by crenz (Priest) on Mar 15, 2003 at 11:18 UTC