From: ts Date: 2003-03-28T23:58:25+09:00 Subject: Re: Newbie question:Does Ruby have the structure of hash's array like Perl does? >>>>> "B" == Brett H Williams writes: B> irb(main):002:0> h = Hash.new{Array.new} Try this (with 1.8) h = Hash.new { |hash, key| hash[key] = [] } Guy Decoux