Re: [htmltmpl] Setting TMPL_VAR from HTML

2003-01-19 Thread Roger Burton West
On Sun, Jan 19, 2003 at 10:46:38AM -0800, Peter Scott wrote: >Thanks, I'll check it out! Er... where is it? Doesn't appear to be >listed under your CPAN id. It's not published - far too basic. But I'll send a copy your way. Roger --- This

Re: [htmltmpl] Setting TMPL_VAR from HTML

2003-01-19 Thread Peter Scott
At 06:34 PM 1/19/03 +, Roger Burton West wrote: On Sun, Jan 19, 2003 at 10:23:22AM -0800, Peter Scott wrote: >Now, maybe I'm missing some more obvious way of doing it, and maybe >I'll find it when I think a bit more about a workaround, but what I'd >like to do right now is put something like >

Re: [htmltmpl] Setting TMPL_VAR from HTML

2003-01-19 Thread Roger Burton West
On Sun, Jan 19, 2003 at 10:23:22AM -0800, Peter Scott wrote: >Now, maybe I'm missing some more obvious way of doing it, and maybe >I'll find it when I think a bit more about a workaround, but what I'd >like to do right now is put something like > Here's a problem with that approach: maybe

[htmltmpl] Setting TMPL_VAR from HTML

2003-01-19 Thread Peter Scott
It would be nice to set a template variable from a template file itself as well as from code. Here's an example I just ran into of why: Several CGI programs use various .tmpl files which all TMPL_INCLUDE foo.inc. foo.inc itself includes bar.inc, although it is not the only file that does so. H