Skip Menu |

This queue is for tickets about the Dancer-Template-Tenjin CPAN distribution.

Report information
The Basics
Id: 75760
Status: new
Priority: 0/
Queue: Dancer-Template-Tenjin

People
Owner: Nobody in particular
Requestors: nomad [...] null.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature Request: option to turn off 'undefined' warnings
Date: Wed, 14 Mar 2012 14:40:22 +1300
To: bug-dancer-template-tenjin [...] rt.cpan.org
From: Mark Lawrence <nomad [...] null.net>
Hi Dancer/Template::Tenjin throws errors that look like the following when undefined variables are interpolated: Warning caught during route execution: Use of uninitialized value in concatenation (.) or string at /home/mark/src/curo-web/share/views/log.tt line 65, <DATA> line 16. I wouldn't mind seeing these errors if: a) They showed the actual line at which the error occurs (not possible due to Tenjin's code munging effects) b) They didn't force the template designer (who is not always Perl-savy) or the context generator to add " || '' " (or something similar) to every variable used for interpolation. Given that the Dancer/Tenjin combination is generally html and that designers are used to looking at the rendered page for the fine details, it would be nice to have an option for preventing these errors from occurring. If you agree I'll work up a patch. Regards, Mark. -- Mark Lawrence