[Templates] Bug in Template 2.13
[prev]
[thread]
[next]
[Date index for 2004/05/20]
There is a small problem with VIEWS and compilation in TT 2.13. The following
template:
[% VIEW sam
foo = 'bar' %]
In the view
[% END # view %]
<h1>Some stuff </h1>
[% sam.foo %]
-------------------------------------------------------
Gives a perl warning as follows:
Useless use of private variable in void context at /tmp/ttc/test.tt2
The error is in Directive.pm at line 797. I think the line just needs removing.
Regards
S
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Bug in Template 2.13
Simon Matthews 08:19 on 20 May 2004
|