Re: Unexpected CGI and HTML

2004-06-25 Thread Randal L. Schwartz
> "Sean" == Sean Davis <[EMAIL PROTECTED]> writes: Sean> My misconception was that some cgi.pm methods return strings, and some Sean> return arrays. Well, none of them return "arrays". You can't return an array. You can return only a list or a scalar, as selected by the context of invocatio

Re: popup_menu

2004-06-25 Thread Wiggins d Anconia
> Hi have the following code: > > print popup_menu(-name=>'hosts',-values=>['1','2','3'],-default=>['2']); > > the default value doen not seem to appear, any reason why? > > Regards > Otto > Does not appear or is not selected? I couldn't reproduce the former, the latter is because you are pro

Re: Unexpected CGI and HTML

2004-06-25 Thread Sean Davis
Thanks for the replies, William and Wiggins. My misconception was that some cgi.pm methods return strings, and some return arrays. I was assuming that all were strings--performing a join on the arrays to get simple strings fixes the problem. Sean On 6/24/04 2:44 PM, "Wiggins d Anconia" <[EMAIL

popup_menu

2004-06-25 Thread Werner Otto
Hi have the following code: print popup_menu(-name=>'hosts',-values=>['1','2','3'],-default=>['2']); the default value doen not seem to appear, any reason why? Regards Otto -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]