[Templates] TT and mod_perl tips

Jose Luis Martínez pplu@capside.com
Fri, 17 Oct 2003 11:26:24 +0200


Hello,

I'm going to migrate all my scripts from mod_cgi to mod_perl (for apache
1.3). Can you give me some tips on what are the best practices for
having TT on a mod_perl server?

I was thinking of loading TT when apache starts (our applications
allways use TT). Is this safe? Should I consider something special?

How should I use the template object? I've seen in the list that someone
recomended creating only one instance of the template object, and have
it global with 'our'. Can this cause problems?

Thank you

Jose Luis Martínez Torres
CAPSiDE
pplu@capside.com