[Catalyst] Using CGI via template...

LD ldsift-perl at yahoo.com.au
Wed Apr 13 08:12:30 CEST 2005


Hi there,

sorry if I need to direct this question elsewhere...

When display the page at http://localhost:3000/ I'm getting the 
follwing output:
    ARRAY(0xb2a138) <foo> ARRAY(0xa8e350)

Note: foo is a valid drop down list - but the arrays appearing are 
weird.
The relevant section in the template is as follows.

<html>
...
[% USE CGI %]
[% CGI.start_form %]
[% CGI.checkbox_group({name => 'colours',
                        values => [ 'red', 'green', 'blue' ]})
%]
[% CGI.popup_menu({name => 'items',
                    values => ['foo', 'bar', 'baz' ]})
%]
[% CGI.end_form %]
...
</html>

what am I missing?

cheers,
LD




More information about the Catalyst mailing list