From: billtj@... (Bill Tj) Date: 2002-10-10T04:32:21+09:00 Subject: Re: strange Hash default behaviour Hi, Actually it is even a problem for myself when I tried to put an example in the newcomers list :) (Well... it is a list for newcomers from a newcomer :) ) I am using ruby 1.6.7 (2002-03-01) [i686-linux] and I got the following: hsh = Hash.new ([]) hsh['a'] << 'a' puts hsh.length # >> 0 ??? I think this example is equivalent as the code in the original post, but it seems it does not work for me. Any glitch in the code above? (I think I have some sense on what's actually going on, but I want to imitate the code as in the original post.) Regards, Bill ============================================================================= "Gavin Sinclair" wrote in message news:<0e9f01c26f84$f4f0c060$526332d2@nosedog>... > It's a common problem (are you listening, Bill :).