I'd like to call $tt->process('template-name.tt', $obj)

where $obj is an object, and references in the template like:

[% foo %]

will invoke $obj->foo.

Will TT already do this, or will I need to create a wrapper hash (like
using tie) to perform the dispatching?

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

Reply via email to