On Wed, May 6, 2009 at 4:42 AM, Kiffin Gish <[email protected]> wrote:
> Is there an environment variable I can use for enabling debugging for
> template toolkit, e.g. export TEMPLATE_DEBUG=1?
>
No such environment variable exists, but you could easily incorporate one
into your application, eg:
my $template = Template->new({
DEBUG => $ENV{TEMPLATE_DEBUG} ? DEBUG_ALL : 0
...
});
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates