Sorry to bring this up from a year ago, but this problem is still 
annoying me with miles of entries in my apache error logs, and I was 
wondering if anyone had any simple solution to avoid it?

I've tried "no warnings" in my modules, and playing with the apache 
LogLevel, but to no avail. I'm presently using Template v2.20 with 
Apache 2.2.14 mod_perl 2.0.4 and Perl 5.10.1

:Travis

Travis Basevi wrote:
> Er, yeah, I'm fully aware of that. That example isn't real-world usage, 
> it's just an illustration of the problem at the simplest level.
> 
> The point is that a TT2 coder shouldn't have to write at the level of a 
> hardcore Perl "use strict use warnings" coder to avoid these warnings. 
> And that's ignoring the point that the functionality of TT2 has changed 
> somewhere between 2.14 and 2.19 because of (I suspect) the introduction 
> of "use warnings" in the various modules.
> 
> Bill Ward wrote:
>> Well, it's not numeric, is it?
>>
>> On Wed, Oct 22, 2008 at 6:13 AM, Travis Basevi <[email protected] 
>> <mailto:[email protected]>> wrote:
>>
>>     I've just upgraded from TT 2.14 to 2.19 as part of a debian upgrade from
>>      etch to lenny, and I can't stop warnings appearing in the apache logs
>>     with something as simple as:
>>
>>     [% 1 + "" %]
>>
>>     giving: Argument "" isn't numeric in addition (+) at ...
>>
>>     This never happened in v2.14, is it to be expected now? Or is there now
>>     an option for turning off these warnings?





This email, including attachments may be privileged, confidential and is 
intended exclusively for the addressee. The views expressed may not be official 
policy, but the personal views of the originator. If you have received this 
email in error please notify the sender and delete it from your system.  Emails 
are not secure and may contain viruses.  No liability can be accepted for 
viruses that might be transferred by this email or any attachment.


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

Reply via email to