Just for completness, there's also
Text::ScriptTemplate which is a simple templating system with asp/jsp-like tags and also uses perl for the template logic. I wonder if somebody tried both Text::ScriptTemplate and Text::Template and can tell which one is to prefer.