From: William Djaja Tjokroaminata Date: 2002-01-25T23:51:57+09:00 Subject: Re: Serious Array Bug in Ruby 1.6.6? The answer is by using Object#dup or Object#clone, which is the only default way to copy objects in Ruby. In this case it is consistent, because Ruby does not provide deep copy (unlike C++) since the beginning (which all Ruby users must know, since the reference/object model is fundamental). Also, what is the practical use of Array.new(2, [[1,2]])? Bill ============================================================================= ts wrote: > How do you do this ? > For example with Array.new(2, [[1,2]]) > Guy Decoux