<[EMAIL PROTECTED]> wrote:

> you can use plugins for other template modules and it is not that hard

Thank you very much for your reply. But I expected such kind of answers. I'm
aware that there are many templating plugins for C:A.


IMHO in cases, when not H:T-compatible templating system is used, that
plugins are appropriate.

With H:T-compatible templating system, plugins are overkilled.


> to wirte your own plugin for C::A. Have a look at
> CGI::Application::Plugin::HTCompiled that enables the use of
> HTML::Template::Compiled.

Yes, I have looked inside CGI::Application::Plugin::HTCompiled. That is what
I told about in my first post. Generally, only one string of original
load_tmpl changed.



Let's don't write plugins for every H:T-style module! Setting something
like:



    $self ->{__CURRENT_TMPL_MODULE} =  'HTML::Template::Compiled';



in your App will do all the job .





wbr
Viacheslav Sheveliov





---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to