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
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates