Ziermann, Markus wrote:
> Is there an easy way to iterate over nested perl objects (blessed
> hashrefs) in template toolkit? If not, perhaps an easy way to convert
> a complex structure of nested objects to hashes?

It depends on the objects. You just invoke the objects' methods in the
template, so if they provide methods to iterate, then yes.

Alternatively, build a loop using an ->all method or whatever just as
you would in Perl.

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to