Ah Hell. Your right Mark. I misread the docs. On 12/28/05, Mark Stosberg <suppressed> wrote: > > On 2005-12-28, Jamie Krasnoo <suppressed> wrote: > > > > it. Now the other problem I have is that my replacing of load_tmpl is > not > > working. Where should add_callback be placed? In cgiapp_init or setup? > > add_callback isn't for replacing load_tmpl(). I checked the docs for > load_tmpl() and found this: > > "If your application requires more specialized behavior than this, you can > always replace it by overriding load_tmpl() by implementing your own > load_tmpl() in your CGI::Application sub-class application module." > > That's one route I would recommend. It's easy. > > If you would like to make a plugin for HTML::Template::Expr to share > with other users, I recommended using the "HTCompiled" plugin as a > model. > > Probably only a line or two of code should be different. > > Mark > > > --------------------------------------------------------------------- > Web Archive: http://www.mail-archive.com/suppressed/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: suppressed > For additional commands, e-mail: suppressed > >
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.