On Sat, Jan 17, 2004 at 09:42:58AM -0800, Randal L. Schwartz wrote:
> Tony>   wrap *Template::Directive::macro, pre => sub { push @def, $_[1] };
> Tony> But I can't see how to do the equivalent for which ones are called.
> Set up a sentinel on each code-def that says "I was called" into an
> external table.  Then look at the table after your tests were run.

Yeah, I know the theory. But I can't see where to put that hook.

Tony

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

Reply via email to