ts wrote:
>>>>>>"M" == Michael Neumann <mneumann / ntecs.de> writes:
> 
> 
> M> Is this intended behaviour?
> 
>  What do you do in this case ?
> 
>   a = "test"
>   hash[a] = "test"
>   a[0] = "m"
>   p hash.keys

But why does this work:

   a = []
   hash[a] = "test"
   a[0] = "1"
   p hash.keys
   # => returns [ ["1"] ]

Regards,

   Michael