tmpl_param()
This allows you to manipulate template parameters directly. Extending the above example:
my $form = CGI::FormBuilder->new(template => 'some.tmpl'); my $company = $form->cgi_param('company'); $form->tmpl_param(company => $company);
Then, in your template:
Hello, <tmpl_var company> employee! <p> Please fill out this form: <tmpl_var form-start> <!-- etc... -->For really precise template control, you can actually create your own template object and then pass it directly to FormBuilder. See the CGI::FormBuilder::Template manpage for more details