How do get Template Toolkit to throw an exception if it encounters a call to a non-existent method?

In the following example zoo is an object, but there is no get_animals() method - so I want TT to throw an exception at that point.

           [% FOREACH animal IN zoo.get_animals %]



------------------------------------
Matisse Enzer
[EMAIL PROTECTED]




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

Reply via email to