* Lo�c Paillotin <loic.paillotin at qualimucho.com> [2004/08/26 14:34]: > I read that both syntax were correct in the Badger Book(which documents > 2.10), so i just wanted to check if my problem is only due to the fact > that 2.06 doesn't support FOREACH x IN y.
The IN syntax was added in 2.09c. From the Changes file:
#------------------------------------------------------------------------
# Version 2.09c - 29th April 2003 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------
[...]
* modified grammar to allow 'IN' as an alternate for '=' in FOREACH
directives, thus allowing [% FOREACH item IN [ foo, bar, baz ] %]
http://template-toolkit.org/pipermail/templates/2003-April/004519.html
(darren)
--
Behold UNIVERSAL::AUTOLOAD and despair.
-- Chip Salzenberg
pgp8q9ko8jkfq.pgp
Description: PGP signature
