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 %]
[% IF var %]
[% PROCESS somefile0 %]
[% var %]
[% ELSE %]
[% PROCESS somefile2 %]
[% END %]

Thanks!

-James

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

Reply via email to