James Lance wrote:
I am wondering if there is a way to store the output from INCLUDE or PROCESS into a variable.
I'd like to do something like this:

[% var = PROCESS somefile1 %]

That'll do it.

You can assign the output of any (well, most) directive straight to a variable.

A


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

Reply via email to