Template2 icon indicating copy to clipboard operation
Template2 copied to clipboard

Perl Template Toolkit v2

Results 97 Template2 issues
Sort by recently updated
recently updated
newest added

Using the Template module under Cygwin with standard Windows style paths (C:/Dir/File.tt), it bombs out with the following error: - file error - no providers for template prefix 'C' This...

Bug
Windows

This is a fix for #158 as the regex that was used on Windows was not correct (it was missing an alternation between the slash and backslash).

When a variable is used in a FOREACH loop, it's value after the loop will be the last value of the loop. For example, if we have a variable `@letters`...

It seems that TT requires spaces around math operators sometimes. For example this runs just fine: ``` x = 5; y = x + 2; ' y='; y; y =...

In this template: ``` [% MACRO show( n ) BLOCK %] value="[% n %]" [% END %] [% x=5; show(x); show(x+2); show(x-2); show(x*2); show(x/2); %] ``` The parser fails on...

The first question in the FAQ refers to a parsing issue that promises "NOTE: this will be fixed in TT3". If it's been fixed in TT 3, then remove the...

I happen to read TT docs on its website but my browser requested me to change to HTTP because HTTPS is broken for [template-toolkit.org](https://template-toolkit.org) The current certificate belongs to www.ourshack.com....

I was searching for info about the `[%~` in TT and was googling for things like "template toolkit tilde" but was coming up empty. [This page](http://template-toolkit.org/docs/manual/Config.html#section_PRE_CHOMP_POST_CHOMP) had the info was...

`Attempt to call undefined import method with arguments via package "Template" (Perhaps you forgot to load the package?) at lib/Template/Test.pm line 26.` see https://github.com/Perl/perl5/issues/21269#issuecomment-1645770854