[Templates] Re: Compound arrays (arrays of arrays) and FOREACH

Ivan Adzhubey iadzhubey@rics.bwh.harvard.edu
Sun, 12 Oct 2003 23:52:41 -0400


On Sunday 12 October 2003 10:04 pm, Jim Garrison wrote:
> Jim Garrison wrote:
> > When applying FOREACH to an array of arrays, nothing gets
> > executed.  (Template version 2.10) What am I missing?
>
> [snip]
>
> The problem is the "IN" keyword doesn't work as advertised.
> If I replace it with "=" it works.

Hmm, your template code works here perfectly as expected no matter with 'IN' 
or with '=' in FOREACH statements (TT 2.10, perl 5.8.1). Which perl version 
do you use?

-- 
Ivan