Bill Cowan wrote:

>Has anyone else tried to use TT2 to generate perl data structure,
>functions or whole programs?
>
>Perhaps, share any general comments/thoughts? Gotchas?
>
I'm using TT to generate both JavaScript code and an RDF description of 
the same set of data, and I am considering generating Perl as well.  I 
haven't found any gotchas so far.  You will find it useful to define a 
filter for escaping strings, i.e.:

my $foo = '[% val FILTER perlstr %]';

-myk




Reply via email to