From: "Crandall, Jeff W" Date: 2002-01-01T05:16:49+09:00 Subject: [ruby-talk:29887] RE: Ruby multi-dimensional Hash question?---Any one out there willing to give this questions a try? Anyone? Is this the correct mailing list to try and get help on? -----Original Message----- From: Crandall, Jeff W [mailto:jeff.w.crandall@intel.com] Sent: Sunday, December 30, 2001 5:41 PM To: ruby-talk@ruby-lang.org Cc: Crandall, Jeff W Subject: [ruby-talk:29776] Ruby multi-dimensional Hash question? Ruby Guru's: I want to dynamically(while reading data in from a file) create a multi-dimensional hash array. Something like the following: myHash[a1[][a2[index_number>] = a3[] # where arrays a1, a2, a3, are defined by reading in some data and are text strings only When I define the above hash array as follows: "myHash = Hash.new(Hash.new())", and then attempt to print the values of myHash out it doesn't quite work correctly. Any Ideas here? Jeff Crandall