Template Toolkit does everything you're asking for. What makes you think it won't work for you?
For example, the way how to produce tables out of arrays. If I understood the examples correctly, Template::Toolkit requires you to loop over the array and append the code to be generated to a special variable OUT. Since the majority of my generated code happens inside a loop over the data, I will end up generating 90% of the result by just sending string to OUT; from the viewpoint of readability certainly not something which is a "template" anymore.
Actually, after a first glance, I meanwhile found that Text::Template::Simple and Text::ScriptTemplate could do what I want, so I will give them a try.
In reply to Re^2: Looking for a "Template Engine"
by rovf
in thread Looking for a "Template Engine"
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |