SPUG: cgi method popup_menu

Joe Devlin jdevlin at stadiumdistrict.com
Tue May 16 01:18:26 CDT 2000


If I make a call to the cgi method popup_menu more than
once in a particular namespace it remembers the previous
labels that were sent to it, then prints the previous popup_menu
labels plus the new ones.

I fixed the 'problem' by calling popup_menu inside a subroutine
then passing the resulting text back to the calling routine.
Apparently exiting the subroutine destroys the method.

Is there a way to reuse the popup_menu without putting it
in a subroutine?

Joe


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 For Subscriptions, Email to majordomo at pm.org:  ACTION  spug-list  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email address





More information about the spug-list mailing list