Anthony Gardner wrote:
> But, it it possible to add/append raw html code to a var of some type 
> for later use or is my method above The Way to do it?

[% stuff = [ ];               # define a list

    CALL stuff.push('hello');  # push something onto the list
    CALL stuff.push('world');  # ditto
    ...etc...
%]

...later...

[% stuff.join %]              # join the items in the list



HTH
A


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

Reply via email to