From: Mr Bubb Date: 2010-02-05T07:58:49+09:00 Subject: Can Ruby Do This? In Perl, you can create a hash of arbitrary depth like so: $hash->{foo}->{bar}->{baz} = 123; I've tried this in ruby: hash[:foo][:bar][:baz] = 123 but I get nil.= errors I could of course do a check for null at each level, but oy, that's so cumbersome. Is there a ruby way? Thanks! -- Posted via http://www.ruby-forum.com/.