The coupling of a template to the template-params is something that
cant really be avoided - at some point the template designer has to
have some understanding of what template-variables are being
generated. Since you are the developer creating the code that
generates the template-variables, it is your responsibility to
"publish" the variable names and their meaning, it is not up to the
template designer to "figure out" what they are and what they represent. That said, there is a justified argument for wanting something like a <TMPL_DUMP some_var> which writes a dumped-block into the target page. Mathew PS. I maintain a version of H::T which supports sub-classing so that you can create your own TMPL tags, see: http://members.optusnet.com.au/~mathew Boon Chew wrote:
|
- [htmltmpl] Re: HTML::Template bug report: Problems ... Sam Tregar
- [htmltmpl] Re: HTML::Template bug report: Prob... Jozef Kosoru
- Re: [htmltmpl] Re: HTML::Template bug report: ... Mitar
- [htmltmpl] loop through a hash structure w... Boon Chew
- Re: [htmltmpl] loop through a hash str... Carl Franks
- Re: [htmltmpl] loop through a hash... Boon Chew
- Re: [htmltmpl] loop through a... Mathew Robertson
- Re: [htmltmpl] loop throu... Boon Chew
- Re: [htmltmpl] loop t... Mathew Robertson
- Re: [htmltmpl] loop t... Jonathan Lang
- Re: [htmltmpl] loop t... Mathew Robertson
- Re: [htmltmpl] loop t... Boon Chew
- Re: [htmltmpl] loop t... Mathew Robertson
- Re: [htmltmpl] loop t... Boon Chew
- Re: [htmltmpl] loop t... Jonathan Lang
- Re: [htmltmpl] loop t... Webmaster Techcode.NET
- Re: [htmltmpl] loop t... Boon Chew
- Re: [htmltmpl] loop t... Carl Franks
- Re: [htmltmpl] loop t... Octavian Rasnita