Hi all

PHP lets me easily create multidimensional hashes using the following
syntax:

x = array();
x["bla"]["some_key"] = true;

Is Ruby not capable of doing this?

x = []
x[:bla][:some_key] = true

gives me a nil error!

What wrong here?

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