Re: [Templates] FOREACH loop problem: variation in versions?

[prev] [thread] [next] [Date index for 2004/08/26]

From: Axel Gerstmair
Subject: Re: [Templates] FOREACH loop problem: variation in versions?
Date: 12:41 on 26 Aug 2004
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

[Templates] FOREACH loop problem: variation in versions?
=?ISO-8859-1?Q?Lo=EFc?= Paillotin 12:34 on 26 Aug 2004

Re: [Templates] FOREACH loop problem: variation in versions?
Axel Gerstmair 12:41 on 26 Aug 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52