> 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 m...@summersault.com Summersault, LLC 765-939-9301 ext 202 database driven websites . . . . . http://www.summersault.com/ . . . . . . . . ##### 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/ ## ## ## ################################################################