>>>>> "Simon" == Simon Wilcox <[EMAIL PROTECTED]> writes:

Simon> But in any csae, if these templates are simple enough to be hacked using
Simon> regexs, surely you can just maintain two sets of them ?

Or...

(warning, crazy idea ahead)

create a meta-template that can be processed by TT (using ttree) into
either TT templates, or PHP templates.

You write:

        [% if (test = "a > b") %]

and that expands to

        [% IF a > b %]

for TT and whatever you want for PHP.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to