in reply to lazy map question
Use indexes instead.
print $q->p( $q->scrolling_list( -name => 'list_input', -values => [0..$#array], -size => 1, -labels => { map { $_, $array[$_] } 0 .. $#array } ) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: lazy map question
by cLive ;-) (Prior) on Mar 15, 2004 at 19:44 UTC |