On Mon, 8 Oct 2001, Boex,Matthew W. wrote:

> I was able to get it to work not using the associate option.
>
> $template->param(start_form=>$q->start_form);
> $template->param(fname=>$q->textfield(-name=>"fname");
> $template->param(submit=>$q->submit(-name=>"go");
> $template->param(end_form => $q->end_form);

Don't do this either.  Stick to the associate option, but set the cgi
params explicitly.  Don't make new ones.

my $q=new CGI;
my $template = new HTML::Template(filename=>'template.tmpl',
associate=>$q);

$q->param('fname' => 'value_of_fname', 'lname' => 'value_of_lname' ...);

Philip

-- 
Forget it, Marge, it's Chinatown!

                -- Homer Simpson
                   Secrets of a Successful Marriage


Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/

  MSN  philiptellis                         Yahoo!  philiptellis
  AIM  philiptellis                         ICQ     129711328


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to