You could just put all the parameters into place with one call, like this:
$template->param( foo => "bar", username => "steve", is_admin => 0 );
Sure that doesn't use loops, or arrays as the tmpl_loop construct would, but you've avoided multiple param() calls.
In reply to Re: HTML::Template: group <tmpl_var>s
by skx
in thread HTML::Template: group <tmpl_var>s
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |