In article <pan.2003.06.24.15.18.20.256706 / sneakemail.com>, Simon Strandgaard
wrote:
[...]
> Thats about it... The issues about Ruby's behavier, I don't know enough 
> about. This is what I hope that a ruby-expert-system could tell me:
> * are you aware that Ruby-1.6.8 has a bug in Array#method.
> * a=[1,2];b=a;b[1]=3;p a   #=> [1, 3]
[...]

Hi Simon. This is not a bug. 'a' and 'b' refer to the same object.
Array#[]= mutates the object.