enkomeks has asked for the wisdom of the Perl Monks concerning the following question:
Results: When i run this, i get the select list alright, but it does not seem list the list is passing comparing indexes with jira. Any help or alternative ways to do this would be truly truly appreciated. I really need this. Thanks Jmy @myList = ( {label => "a", value => '0'}, {label => "d", value => '3'}, {label => "f", value => '5'}, ); $m->out( '<select name="myselectlist">' ); for ( @myList) { $m -> out(qq(<option value=").$_->{value} . qq(">) . $_->{ label } + . qq(</option> )); } $m->out(</select>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HELP MEEE !!!!
by moritz (Cardinal) on Apr 19, 2009 at 18:14 UTC | |
|
Re: Specifying array indexes in select list.
by ysth (Canon) on Apr 19, 2009 at 19:00 UTC | |
|
Re: Specifying array indexes in select list.
by AnomalousMonk (Archbishop) on Apr 20, 2009 at 01:08 UTC |