On Mon, May 30, 2011 at 08:48:44PM -0400, John M Rathbun MD wrote:
> print scrolling_list(-name => 'choose',-values=>@terms,-size=>254);
scrolling_list wants a reference for the value list:
print scrolling_list(-name => 'choose',-values=>\@terms,-size=>254);
This should do what you want, when you use '@terms' the array gets
expanded to the list of items in the array, the backslash causes a
reference to the array to be passed instead. The relevant
documentation is perlref
<http://perldoc.perl.org/perlref.html#Making-References>.
--
Michael
[email protected]
M: +1-562-MIKEGRB
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/