E R wrote:
> I'm not using the latest version of TT, so maybe this is already implemented.

Not in TT2, but yes in TT3.

The TT2 parser is rather inflexible and making changes to the grammar is
decidedly non-trivial.  It's the reason why I've completely re-written
it all for TT3 (several times now).

> Besides being more efficient, having lexicals would allow template
> authors to avoid name clashes in sub-templates without the caller
> having to invoke the sub-template with PROCESS.

Yes, to all those things.  TT's lack of lexical variables is a major
limitation (or at best a frustrating annoyance).

A

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to