in reply to HTML::Template Question / Confusion
No, you can include multiple templates within a single file using
but it isn't generally advisable. I keep mine separate template files.<TMPL_IF template1>...</TMPL_IF> <TMPL_IF template2>...</TMPL_IF> etc.
I guess what I'm trying to say is that I don't see the benefit of using HTML::Template if I have X number of templates, where each has to be edited manually later.
Some might call that an advantage. If you have a lot of repetive code, <TMPL_INCLUDE> can ease the pain.
|
|---|