[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] CGI.pm help


On Sun, 21 Jan 2007 10:08:53 +1300, Dan Horne wrote:

Hi Dan, Kevin

> You need to pass in your values as a hash reference, i.e.

Close.

> print $CGI->popup_menu(-name=>'menu_name',
> -values=>\%menu_values);

Pass /all/ parameters in a hash ref:

popup_menu({name=>'menu_name', values=>\%menu_values});

I tested a few CGI calls years ago. Some accept a list and some require a hash
ref. All accept a hash ref so that's what I use in all cases now.

--
Cheers
Ron Savage, suppressed on 21/01/2007
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.