[Templates] Strict method calls for blessed items
Mike Friedman
friedo@friedo.com
Mon, 30 Oct 2006 19:27:07 -0500
Greetings,
If "foo" is a blessed hashref, and I say [% foo.mehtod %], since
"mehtod" is not a method of foo, TT looks up "mehtod" as a hash key
and returns undef. I would like a fatal error to occur if a
non-existant method is called on a blessed hash (or blessed anything
else.) This will make it much easier to debug templates.
Is there a way to do this? I've been looking at the configuration
options in the manual but I didn't see anything.
Thanks,
Mike