Dami Laurent (PJ) wrote:
Hi all,Suppose an object $obj has both a hash entry $obj->{foo} and a method $obj->foo().If I pass this object to a template, [% obj.foo %] performs a method call. Is there a way to access the hash entry instead? Thanks in advance, L. Dami
Does obj.item('foo') work?
-- Josh
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates
