[Templates] FOREACH loop problem: variation in versions?

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

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

I use the following loop construct on Template 2.13:
[% FOREACH x IN y %]
	...
[% END %]
Wich works.

I then try it out on a 2.06 installation.
It does not fail, it just does nothing.
Changing it to :=20
[% FOREACH x =3D y %]
	...
[% END %]
makes it work again.
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.=20

THanx in advance,=20

=20
--=20
Lo=EFc.


_______________________________________________
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

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