My guess is that the issue is that you're calling the value method in list context, and it's either is returning an empty list or a list of more than one element. As a result, popup_menu doesn't see any -labels argument and thus your popup menu has no labels.
One minor technical point for the record. The list of arguments you're passing to popup_menu is just a list, not a hash, but presumably that function just reads its arguments into a hash anyway, so the effect is the same.
In reply to Re: CGI.pm popup_menu labels bug?
by Errto
in thread CGI.pm popup_menu labels bug?
by blogical
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |