On Sun, 2003-07-13 at 05:59, Aaron Trevena wrote:
> I am also looking for some kind of API allowing a script to detect what a
> template is asking for such as include/process, plugins and variable
> names.

If I were trying to do this, I would hook into the code generation
process.  When a template gets compiled, a chunk of code gets called for
each directive found.  Just add some code in there.  It might be as
simple as subclassing Template::Directive.

- Perrin

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to