Re: [Templates] FOREACH loop problem: variation in versions?
[prev]
[thread]
[next]
[Date index for 2004/08/26]
Woops I forgot I could check that way. Thanks a lot.
Le jeu 26/08/2004 =E0 14:36, Darren Chamberlain a =E9crit :
> * Lo=EFc Paillotin <loic.paillotin at qualimucho.com> [2004/08/26 14:34=
]:
> > I read that both syntax were correct in the Badger Book(which documen=
ts
> > 2.10), so i just wanted to check if my problem is only due to the fac=
t
> > that 2.06 doesn't support FOREACH x IN y.=20
>=20
> The IN syntax was added in 2.09c. From the Changes file:
>=20
> #--------------------------------------------------------------------=
----
> # Version 2.09c - 29th April 2003 ## DEVELOPER RELEAS=
E ##
> #--------------------------------------------------------------------=
----
>=20
> [...]
>=20
> * modified grammar to allow 'IN' as an alternate for '=3D' in FOREACH=
=20
> directives, thus allowing [% FOREACH item IN [ foo, bar, baz ] %]
> http://template-toolkit.org/pipermail/templates/2003-April/004519.h=
tml
>=20
> (darren)
--=20
Lo=EFc Paillotin=20
D=E9veloppeur=20
Qualimucho M=E9dia,=20
10 rue de la Fontaine au Roi
75011 Paris=20
Port: 06.15.54.40.05
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates