Spidy has asked for the wisdom of the Perl Monks concerning the following question:
I've been doing some work with HTML::Template lately, and one piece of it that I found to be immensely useful was the <tmpl_loop> tag. It made it easy to group together all of the variables I would need for specific areas of my output that were to be repeated. However, I have a question:
Is there a way to do this other than using a <tmpl_loop>? I have a piece of template that won't be repeated, and it would be easier to fill it in the same way you fill in <tmpl_loop> tags than to have multiple param() calls.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Template: group <tmpl_var>s
by rhesa (Vicar) on Nov 09, 2006 at 18:06 UTC | |
|
Re: HTML::Template: group <tmpl_var>s
by stonecolddevin (Parson) on Nov 09, 2006 at 18:20 UTC | |
|
Re: HTML::Template: group <tmpl_var>s
by tinita (Parson) on Nov 09, 2006 at 17:51 UTC | |
|
Re: HTML::Template: group <tmpl_var>s
by skx (Parson) on Nov 09, 2006 at 19:03 UTC | |
|
Re: HTML::Template: group <tmpl_var>s
by friedo (Prior) on Nov 09, 2006 at 18:06 UTC |