Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer CPAN distribution.

Report information
The Basics
Id: 57057
Status: new
Priority: 0/
Queue: Dancer

People
Owner: Nobody in particular
Requestors: aku.kauste [...] curling.fi
Cc:
AdminCc:

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



Subject: Breaking template-toolkit with ANYCASE
Dancer sets ANYCASE config to 1 automatically for Template-Toolkit. 1: This is not documented (at least I can't find it documented anywhere) 2: Reverting this is not documented, and I couldn't find a way to do that 3: This breaks code for example when iterating resultsets from DBIx:Class Let's say you are passing variable rs containing DBIx:Class resultset and you want to iterate thorough it: [% WHILE (row = rs.next) %] ... do something ... [% END %] Does not work, because ANYCASE makes Template-Toolkit to confuse rs's next function to NEXT virtual function. Please, don't mess with the defaults behind the scenes (you may add a vote from me to defaulting to regular tt-tags as well :).