Subject: | List declaration inside a META directive |
Hello,
It seems one cannot declare a list inside a META directive, TT breaks
with an 'unexpected token ([)' error. (tried with 2.15 and 2.18)
To reproduce:
perl -MTemplate -e 'my $t = Template->new; $t->process("foo.tt2") ||
die($t->error)'
In foo.tt2:
--<snip>--
[% META foo = [ 'bar' ] %]
--</snip>--
-> file error - parse error - foo.tt2 line 1: unexpected token ([)
Regards,
Renaud Drousies