This queue is for tickets about the HTML-Template-Compiled CPAN distribution.
Maintainer(s)' notes
Note: there is a bug with caching and TMPL_INCLUDE_VAR since 0.97_004 until 0.98. either use an earlier version or upgrade to 0.98_001. Another workaround is to precompile all templates to file_cache_dir. The bug happens when including a template via INCLUDE_VAR and the template is not yet compiled or has changed.
I'm sorry if the change about aliases came quite unannounced. I didn't expect any problems since dollar signs are not allowed in template vars, but I heard from at least one case where people were doing exactly this.
Please do not use unallowed characters in template vars.
Allowed are (from the HTML::Template::FAQ): Numbers, letters, '.', '/', '+', '-' and '_'.
This should work in HTML::Template::Compiled::Classic.
in HTML::Template::Compiled you should be only using numbers, letters and _.
The dot, for example, is special. If you need to get a hash key from the template parameters with special charcaters, you can try <tmpl_var _.$var$name$with$dollars >
There will be a workaround in the next version:
local $HTML::Template::Compiled::Compiler::DISABLE_NEW_ALIAS = 1;
Please report any bug you find.
The code is now hosted on https://github.com/perlpunk/HTML-Template-Compiled
If you have a bug report, you can also post it there in the "Issues" section.
In the bugreport, please include, if possible, the module version, perl version and a testcase that reproduces the error; that makes it easier to find the bug.
The issue with not reloading includes of includes should be fixed in version 0.95_003.
If you have any problems though please report!
Using query() and the dot syntax might not work together always. If you have a tmpL_var name="..foo" (going up the stash one level) the var foo is not detected and will not be reported by the query() function. Since the dot syntax is for dereferencing hashes and method calls the query function might not make sense anyway. I believe it is a bad idea to let the program do things if the template is using a certain variable.
Thanks!
Owner: |
Nobody in particular
|
Requestors: |
gregoa [...] debian.org
|
Cc: |
|
AdminCc: |
|
|
Severity: |
(no value)
|
Broken in: |
(no value)
|
Fixed in: |
1.000_001 |
signature.asc
spelling.patch
|
Sat Aug 25 15:02:42 2012
gregoa [...] debian.org - Ticket created
In Debian we are currently applying the attached patch to HTML-Template-Compiled.
We thought you might be interested in it, too.
Description: fix a spelling mistake
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2012-08-25
Thanks in advance,
gregor herrmann, Debian Perl Group
Message body is not shown because sender requested not to inline it.
Tue Nov 13 19:44:43 2012
TINITA [...] cpan.org - Correspondence added
Thanks very much. It will be in the next version 1.001. Unfortunately I
forgot it before uploading 1.000 :-/
Tue Nov 13 19:44:44 2012
The RT System itself - Status changed from 'new' to 'open'
Wed Nov 14 16:24:10 2012
gregoa [...] debian.org - Correspondence added
On Tue, 13 Nov 2012 19:44:44 -0500, Tina Muller via RT wrote:
Show quoted text> Thanks very much. It will be in the next version 1.001. Unfortunately I
> forgot it before uploading 1.000 :-/
Thanks; and: no worries :)
Cheers,
gregor
--
.''`. Homepage:
http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer -
http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Don McLean: Mountains O'Mourne
Message body not shown because it is not plain text.
Sat Dec 08 19:55:09 2012
TINITA [...] cpan.org - Fixed in 1.000_001 added
Sun Jul 26 07:10:32 2015
TINITA [...] cpan.org - Status changed from 'open' to 'resolved'