what about (not zip() offcource :")):

@a = (1,2,3);
@b = (4,5,6);
@c = (7,8,9);

zip (how,@a,@b,@c);

i.e.
  
@list = zip (0,@a,@b,@c);  #stright
 result (1,2,3,4,5,6,7,8,9) 

@list = zip (1,@a,@b,@c);  #reverse
 result (7,8,9,5,6,7,1,2,3) 


@list = zip(2,@a,@b,@c);  # all first elems, then all second..etc
 result (1,4,7,2,5,8,3,6,9) 

@list = zip(3,@a,@b,@c); #and reverse...
 result (7,4,1,8,5,2,9,6,3) 


Also we can tell :
@list = zip(1,@a,@b,reverse @c); 

=====
iVAN
[EMAIL PROTECTED]
=====



Reply via email to