in reply to working with templates
HTML::Template has the TMPL_INCLUDE tag which can include a static file. However, I do not think you can use a variable include filename with H::T.
You can do it with Template Toolkit, though. If you've got a template variable called 'filename' then [% INCLUDE $filename %] will work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: working with templates
by GertMT (Hermit) on Apr 24, 2007 at 20:04 UTC | |
|
Re^2: working with templates
by tinita (Parson) on Apr 26, 2007 at 12:07 UTC |