Re: cgi.pm popup menus

2003-06-18 Thread Chad A Gard
On Tuesday, June 17, 2003, at 07:35 PM, Kristofer Hoch wrote: Chad, It isn't as big of a pain in the ass as you may think...Consider and try Ah, that's not too bad. Thanks, Kristofer. Chad A Gard http://www.percussionadvocates.com/chad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: cgi.pm popup menus

2003-06-17 Thread Kristofer Hoch
Chad, It isn't as big of a pain in the ass as you may think...Consider and try = use strict; my @firstList = qw(Monday Tuesday Thursday Friday Saturday); my @secondList = qw(January Febuary March April May June July); printMultipleArrays([EMAIL PROTECTED],[EMAIL PROTECTE

Re: cgi.pm popup menus

2003-06-17 Thread Chad A Gard
On Tuesday, June 17, 2003, at 04:21 PM, Kristofer Hoch wrote: Here you assign element[0] of @_ to $selectName. Then you assign all remaining elements (indexes 1 through infinity) to @selectValues. @selectValues slurps up all remaining elements of @_ leaving poor little $selection to starve to de

Re: cgi.pm popup menus

2003-06-17 Thread Kristofer Hoch
Chad, sub processSelect{ my ($selectName, @selectValues, $selection) = @_; } Here you assign element[0] of @_ to $selectName. Then you assign all remaining elements (indexes 1 through infinity) to @selectValues. @selectValues slurps up all remaining elements of @_ leaving poor little $selectio

cgi.pm popup menus

2003-06-17 Thread Chad A Gard
I'm having difficulty creating a popup menu. I want a select list, like so: Work Home Mobile Pager Home Fax Work Fax It seems I should be able to get that by doing (simplified, of course. Really data is coming from a db, and I have several different select lists): @phoneLabels = ('Work',