From: ngoc Date: 2005-06-18T07:00:33+09:00 Subject: Re: perl: $count{$element}++ in Ruby? my mistake is count = Hash.new() instead of Hash.new(0) thanks very much ngoc