Blue Eyed Devil wrote:
[SNIP]
> Example:
>
> [% BOY %] says [% WORD %] to [% GIRL %]
>
> Let's say I pass in the vars, BOY and WORD to $template->process() but
> NOT the var GIRL. However, I would like to have the ability to do
> something like:
>
> @tags = $template->some_method();
>
> And when I would go through the @tags it would contain ('BOY', 'WORD',
> 'GIRL').
>
> Logically it should be called after $template->process() to be able to
> get all tags.
>
> Any ideas on how to implement this with TT without any hacking?
I'm pretty sure you'd have to hack this. It might be easier to give us your
problem and ask for any ideas on how to solve it in a different manner than
what you are doing.
-- Josh
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates