CGI.end_form.join();   will fix your issue...

Is due to the .cgi_fields that CGI generates to maintain field states.


On Wed, May 18, 2005 at 03:43:05PM -0400, Warren Pollans wrote:
> 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

-- 
Todd Freeman  Ext 6103                   .^.    Don't fear the penguins!
Programming Department                   /V\
Andrews University                      // \\    http://www.linux.org/
http://www.andrews.edu/~freeman/       /(   )\   http://www.debian.org/
                                        ^^ ^^

Attachment: signature.asc
Description: Digital signature

Reply via email to