Using the following works - I get a popup and a submit button

[% USE CGI;
CGI.start_form;
CGI.popup_menu(
    Name => 'color',
    Values => [ 'red', 'green', 'blue' ]);
CGI.submit;
#CGI.end_form;
%]


If I uncomment the end_form line, I get the popup and button PLUS an arrayref - ARRAY(0xb0cbe4) - after the button. What am I missing?


ALSO, what are the rules/conventions for translating from using CGI to using Template::Plugin::CGI?

Feel free to point me to where I should have looked in the first place :-)

Thanks,

Warren


_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to