Daniel Finnie wrote:
> What I want to do is have 2 nested hashes, the outer hash returning a 
> new hash on an unknown key and the inner hash returning a space on an 
> unknown key.

value = Hash.new {|h,k| h[k] = Hash.new {|h1,k1| h1[k1] = " "}}

p value[5][6]       # ==> " "
value[5][6] = "H"
p value             # ==> {5=>{6=>"H"}}

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407