Subject: | Can't use TABLE plugin with STRICT mode |
Date: | Wed, 20 May 2015 19:42:58 +0300 |
To: | bug-Template-Toolkit [...] rt.cpan.org |
From: | Victor Porton <porton [...] narod.ru> |
When running the attached script with attached template, it produces an
error (.defined method does not work).
So, tables are practically unable to be used with STRICT mode.
$ ./test-tt.pl
var.undef error - undefined variable: elt.defined
Template Toolkit 2.24-1.2+b1 on Debian Linux.
perl 5, version 20, subversion 2 (v5.20.2) built for
i586-linux-gnu-thread-multi-64int
Workaround: Use [%TRY%]/[%CATCH%] to catch the error.
Related bug: https://rt.cpan.org/Public/Bug/Display.html?id=91592
--
Victor Porton - http://portonvictor.org
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.