> I have a hand-rolled content handler in lieu of Apache::Template (which
> I couldn't get to work without recompiling things) which works fine: if
> the named page doesn't exist, it uses a global template (/index.html) to
> form the page and INCLUDEs the page-specific stuff[1]. Now, I'd like to
add
> CGI processing to this, i.e. submit to a page that then passes back to
> the handler. Or, er, some other way that use the existing
> mechanism/handler.
>
> Any pointers, examples or even RTFM(!)s ?

I'm not sure why you're having difficulty.  You know how to call TT, if
you've coded your own handler that uses it.  Your dynamic pages should just
do their work and then call TT in the same way.  Where are you getting lost?

Maybe this will help:
http://www.template-toolkit.org/docs/plain/Tutorial/Web.html#DYNAMIC_CONTENT
_GENERATION_VIA_APACHE_MOD_PERL_HANDLER

- Perrin



Reply via email to