Sebastian Hungerecker wrote:
> Hash.new {|h,k| h[k] = Hash.new(&h.default_proc)}

Thanks for the attempt.  Seems on the right track but not quite.

>> h = Hash.new {|h,k| h[k] = Hash.new(&h.default_proc)}
=> {}
>> h["a"]["b"]["c"]
=> {}
>> h
=> {"c"=>{}}

After h["a"]["b"]["c"]
what needs to happen is h is equal to
{"a"=>{"b"=>{"c"=>{}}}}

Appreciating the Ruby Community's Help,
Ray

-- 
Posted via http://www.ruby-forum.com/.