[Templates] How To Throw Exception on Missing Method
Bill Moseley
moseley@hank.org
Wed, 25 Jul 2007 20:36:52 -0700
On Wed, Jul 25, 2007 at 01:30:46PM -0700, Matisse Enzer wrote:
> (re-posted because I stoopidly left out the Subject on the prior
> posting. I apologize.)
>
> How do get Template Toolkit to throw an exception if it encounters a
> call to a non-existent method?
You want it globally, or just in some cases?
DEBUG_UNDEF
Otherwise, I'd test for values and use THROW if I didn't like what I
got.
--
Bill Moseley
moseley@hank.org