[cgiapp] Re: CGI::Application::Plugin::HTCompiled update: need some
help
Mark Stosberg
mark at summersault.com
Fri Jul 31 16:50:40 EDT 2009
On Thu, 23 Jul 2009 12:37:37 -0400
Mark Stosberg <mark at summersault.com> wrote:
>
> > 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.
That's done now:
http://search.cpan.org/~markstos/CGI-Application-4.31/
Mark
More information about the cgiapp
mailing list