From: ES Date: 2005-06-02T12:46:07+09:00 Subject: Re: internal iterators in ruby Le 2/6/2005, "Navya Amerineni" a �crit: >Hi, > >I read that it is difficult to iterate over two >collections in paralell using ruby's internal >iterators. >can any one explain me indetail why it is so.. It may not be. left = [1, 2, 3, 4] right = %w[one two three four] left.zip(right) {|l,r| puts "#{l} = #{r}"} >thanks in advance > >Navya E -- template void quack(duck& d) { d.quack(); }