I'm pretty sure that Mason does what you want. eperl also looks like it might be interesting for you.
Hmmm.... From the documentation at CPAN: CONFIGURING MASON. ... This section assumes that you are able to install and configure a mod_perl server, so if I understand it right, it seems to assume that it runs with a web application. And as for eperl, I only found Apache::ePerl, and here it says: The intent is to use this special variant of ePerl for scripts which are directly under control of the webmaster... For the average user you should not use Apache::ePerl. Instead additionally install the regular stand-alone ePerl facility (nph-eperl) for those users. So this too assumes Apache. I looked for nph-eperl, but found nothing on CPAN (and the few references I found on nph-eperl on Google seem to suggest that this too assumes somehow to run under a webserver).
Also it looks as if Mason assumes to be embedded in HTML, though perhaps it will work with other text files too....
In reply to Re^2: Looking for a "Template Engine"
by rovf
in thread Looking for a "Template Engine"
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |