Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Speed of Templateby perrin (Chancellor) |
on Aug 15, 2001 at 10:23 UTC ( [id://104971]=note: print w/replies, xml ) | Need Help?? |
I know it's late to comment on this thread, but I wanted to point out one thing about using TT in mod_perl and other persistent environments: you must cache the Template object! If you don't, and you create a new instance of Template on each request, you'll be killing the internal template cache. Read the tutorial on the TT site for an example of how to do it.
In Section
Seekers of Perl Wisdom
|
|