On Fri, 14 Feb 2003, Nate Hardt wrote: > > If speed is really your number one goal (and I'm not saying it should be), > > consider dumping Template Toolkit and switching to HTML::Template. And if > > you're ready for some real excitement, give HTML::Template::JIT a try. > > HTML::Template::JIT looks like one of those modules where I ask myself, > why wouldn't I use it? One reason you might not use it is because it's not quite finished. There are features in HTML::Template that don't work in HTML::Template::JIT. See the CAVEATS section of the docs for details. > So, how do you use it with CGI::App? You can either just create your templates directly, calling HTML::Template::JIT->new() instead of $self->load_tmpl(), or you can implement a sub-class of CGI::App that overrides load_tmpl() to call HTML::Template::JIT->new() instead of HTML::Template->new(). -sam --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ To unsubscribe, e-mail: suppressed For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.