At 07:18 PM 10/27/2001 +0100, Tony Bowden wrote:

>I've run into a problem with TT with using CGI to generate HTML:
>
>[% cgi.h1("Test") %]
>[% cgi.checkbox_group('list', fooey) %]
>
>-------------------------------------------------------------------
>
>I get output of:
>
><h1>Test</h1>
>ARRAY(0x83b4260)

Doesn't checkbox_group expect at least an arrayref of values? Try ['fooey'] 
instead. This is untested, but IIRC this is they way it is called. BTW, I 
always use the named params just so I don't have to remember the correct 
order. :-)


Drew Taylor                     JA[P|m_p|SQL]H
http://www.drewtaylor.com/      Just Another Perl|mod_perl|SQL Hacker
mailto:[EMAIL PROTECTED]      *** God bless America! ***
ICQ: 135298242






Reply via email to