> 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 providing -default with an array reference, but it should be a single scalar value (remove the [] from around '2'). Does this help? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>