Hi all,

I m passing a has ref to a template.
In this hash, there can be a value which is pointing to an array ref,
or hash ref.
Is there any way to find out, from the template, if the value of a
variable is an array, hash, scalar just like the ref() in perl?

I used size() but for a scalar, size() returns 1.

Thank you

Cyril

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

Reply via email to