Template preprocessor that uses Perl syntax