in reply to Re: cgi.pm: popup_menu
in thread cgi.pm: popup_menu
the -labels attribute expects an array reference, not a list, so that should instead be -labels => [ keys %labels ]
the [ ] around the keys %labels makes it an anonymous array, which is a reference to an array with no name.
HTH
If not P, what? Q maybe?
"Sidney Morgenbesser"
In Section
Seekers of Perl Wisdom