I'm trying out something like the following to include a file dynamically using HTML::Template:
That doesn't seem to work. There's no problem if the name of the include file is hardcoded:<tmpl_include name="<tmpl_var name=file>.inc">
But is there a way to feed the name of the include file to tmpl_include?<tmpl_include name="news.inc">
In reply to question on tmpl_include by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |