On 2005-12-28, Jamie Krasnoo <[EMAIL PROTECTED]> 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/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to