Lee,

Is there a means of determining the 'ref' of a variable in a template?
[% IF passed_var.ref == 'ARRAY' ...? %]

I would just use [% passed_var.list() %] ... this usually eliminates the need for the [% IF %] in the first place. That's what I think of as "the TT2 way".


                -- Buddy

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

Reply via email to