[Templates] Reporting missing values

Andy Wardley abw@cre.canon.co.uk
Wed, 16 Aug 2000 15:10:26 +0100


On Aug 16,  4:02pm, Jonas Liljegren wrote:
> It shoule at least giva an optional warning. But I would like to tell TT
> to throw an exception.  Especially in the two later cases.

Set the DEBUG option.  This is badly named as it's really only the Stash
debug, and should probably be called "WARNINGS" or "WARN_UNDEF" or
something similar.  Nevertheless, it's there for now.  It will cause
any undefined variables to raise an 'undef' exception with a message
saying "blah blah not defined".

A



-- 
Andy Wardley <abw@kfs.org>   Signature regenerating.  Please remain seated.
     <abw@cre.canon.co.uk>   For a good time: http://www.kfs.org/~abw/