[Templates] beginner's question

[prev] [thread] [next] [Date index for 2005/05/18]

From: Warren Pollans
Subject: [Templates] beginner's question
Date: 19:43 on 18 May 2005
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
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] beginner's question
Warren Pollans 19:43 on 18 May 2005

Re: [Templates] beginner's question
Todd Freeman 20:04 on 18 May 2005

Re: [Templates] beginner's question
merlyn (Randal L. Schwartz) 20:12 on 18 May 2005

Generated at 15:56 on 25 May 2005 by mariachi v0.52