On Tue, Aug 06, 2002 at 03:25:54PM -0500, Shannon, Bryan wrote:
> What's the best way to get "UNDEF ERRORS" to be fatal without enabling all
> the other debugging information?

The CVS repository now contains a new implementation of DEBUG handling.
You can now do this something like this:
  
    use Template;
    use Template::Constants qw( :debug );

    my $tt = Template->new(
        DEBUG => DEBUG_UNDEF | DEBUG_PARSER | DEBUG_PROVIDER,
    );

Or, if you prefer:

    my $tt = Template->new(
        DEBUG => 'undef, parser, provider',
    );

In your case, set it to DEBUG_UNDEF or 'undef' and you'll get undef 
errors only.

HTH

A


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to