From: Dan Diebolt Date: 2005-12-10T04:08:04+09:00 Subject: Re: new to Ruby - pls help in translating this --0-111865063-1134155277=:55437 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit use the following to initiate your hash: h=Hash.new(0) and this to increment on each key: h[key] = h[key] + 1 --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-111865063-1134155277=:55437--