[Templates] Template with mod_perl2
Perrin Harkins
perrin@elem.com
Fri, 12 Jan 2007 17:43:26 -0500
On Fri, 2007-01-12 at 17:06 -0500, Jonathan Mangin wrote:
> What do I need to use TT with mod_perl2?
You don't need anything. Go ahead and use it.
> I see Apache::Template but a CPAN install eventually
> tries to install modperl 1.29. That can't be right.
If you want something to automatically feed requested documents through
TT like Apache::Template does, you can pick up the mod_perl2 patches for
it from the list archives. Most people want to write some actual code
though, to talk to databases and the like. It's very simple to call TT
from a mod_perl handler or script, or you can use a framework like
CGI::Application or Catalyst.
- Perrin