Skip Menu |

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

Report information
The Basics
Id: 41240
Status: rejected
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



The follwoing unexpectedly fail: is it my shallow understanding of the template 'language' ? [% INCLUDE 'answers/create/' _ class %] Thought that would concatinate a literal string and the value of the scalar named class [% INCLUDE path %] Thought that would operate on the value in the variable named path. This works: [% path = 'answer/create/' _ class; INCLUDE $path %] Sorry for the shallow ticket.
That's a limitation in the language parser, I'm afraid. It's something that'll be fixed in TT3.