* Tony Bowden <[EMAIL PROTECTED]> [2002-07-18 14:26]:
> On Thu, Jul 18, 2002 at 01:59:23PM -0400, darren chamberlain wrote:
> >   [% list_one   = [ 1 2 3 4 5 ];
> >      list_two   = [ 6 7 8 9 10 ];
> >      list_three = [ a b c d e ];
> >      FOREACH l  = list_one.merge(list_two);
> >         "$l ";
> >      END;
> >   %]
> >   1 2 3 4 5 6 7 8 9 10 a b c d e
> 
> How does list_three end up on this?

Er, it doesn't, as far as I can tell.

  [% list_one   = [ 1 2 3 4 5 ];
     list_two   = [ 6 7 8 9 10 ];
     list_three = [ a b c d e ];
     FOREACH l  = list_one.merge(list_two);
        "$l ";
     END;
  %]
  1 2 3 4 5 6 7 8 9 10

This will:

  [% list_one   = [ 1 2 3 4 5 ];   
     list_two   = [ 6 7 8 9 10 ];   
     list_three = [ "a" "b" "c" "d" "e" ];
     FOREACH l  = list_one.merge(list_two, list_three);
        "$l ";   
     END;   
  %]
  1 2 3 4 5 6 7 8 9 10 a b c d e

Did I miss something?

(darren)

-- 
Microsoft - because God hates us.


Reply via email to