[cgiapp] Re: CGI::Application::Plugin::HTCompiled update: need some help

Mark Stosberg mark at summersault.com
Thu Jul 23 12:37:37 EDT 2009


> sub html_tmpl_class { 'HTML::Template::Compiled' }
> 
> But: how do I replace the html_tmpl_class() in the calling app? I don't get
> how I call the init hook. I guess (at least I hope) it's something very
> simple anyone of you can show me J

Alex,

I'll release a new version of CGI::App soon that will make that
easy. I have already previewed the version here: It allows setting
html_tmpl_class as an object method. So, you'll be able to use the
"init" callback, and do this at the 'init' stage:

  $self->html_tmpl_class('HTML::Template::Compiled');

I'll try to get that release made soon.

    Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   mark at summersault.com     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .




More information about the cgiapp mailing list