On Thu, 23 Jul 2009 12:37:37 -0400
Mark Stosberg <[email protected]> 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



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to