Mason and Template will be more "familiar" than HTML::Template as they allow you to embed code, macros, and mini-language directives. In TT2 (Template) you could have a structure like so-
[% PROCESS header.tt %] [% PROCESS ${variable_template_name_from_code}.tt %] [% PROCESS footer.tt %]
-and then pass the middle template name in your code. There are many ways to do this sort of thing and you'll need to read the docs carefully but you can already see how easy it is to organize templates into reusable parts.
In reply to Re: How to design website structure?
by Your Mother
in thread How to design website structure?
by kitsune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |