>>>>> "A" == Aristarkh A Zagorodnikov <xm / w3d.ru> writes:

A> 	When $= is set to true (case-insensitive), hash access is ... errrm ...
A> invalid for textual keys at least. It precisely lists the hash ('print
A> hash.inspect' prints hash with keys/values), but accessing to hash using one
A> of the keys (even value, recieved from each iterator: 'hash.each {|k, v|
A> print hash[k]}, produces nil.

 You can't store a key with a given value of $= and retrieve this same
 key with a *different* value of $=

 If you change $= you must call Hash#rehash to make ruby re-compute hash
 values. 

 To see this, try to add in your code :

A>     cl.members.each_value {|c|
A>         p c

           c.rehash 

A>         p c['name']
A>     }
A> }



Guy Decoux