Re: [Templates] FOREACH loop problem: variation in versions?
[prev]
[thread]
[next]
[Date index for 2004/08/26]
Hi Loïc,
On Thursday, August 26, 2004 at 14:34, Loïc Paillotin wrote:
> 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.
Yep. The IN operator in the FOREACH directive was introduced in
release 2.09c:
* modified grammar to allow 'IN' as an alternate for '=' in FOREACH
directives, thus allowing [% FOREACH item IN [ foo, bar, baz ] %]
Best regards,
Axel
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] FOREACH loop problem: variation in versions?
Axel Gerstmair 12:41 on 26 Aug 2004
|