On Thu, Oct 22, 2009 at 11:20 AM, Sean McAfee <[email protected]> wrote:

>
>
>
> Well, I can't explain that.  Check out the current trunk version of
> Template::Document:
>
>
> http://template-toolkit.org/svnweb/Template2/view/trunk/lib/Template/Document.pm
>
> Right before template-derived code is evalled, there's this:
>
> local $SIG{__WARN__} = \&catch_warnings;
>
> catch_warnings is a sub that discards all warnings (by storing them in a
> global variable that's never read from).
>

Isn't that's just catching warnings when *compiling* the template, not when
processing it?

I get the same output I showed before with 2.22.



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

Reply via email to