From: Larry Evans Date: 2011-01-11T05:15:20+09:00 Subject: Re: Nooby question : multidimensional arrays. On 01/10/11 08:33, Robert Klemme wrote: [snip] > If you need that you could do something like https://gist.github.com/772827 > [snip] Are you using a ruby newer than 1.8.7. I'm getting an error as shown here: ~/prog_dev/ruby/gist772827-61376303a967918b698bc0ddb50af26d6368438c $ ruby mda.rb mda.rb:20: syntax error, unexpected tIDENTIFIER, expecting tAMPER or '&' def []=(*idx, val) ^ mda.rb:41: syntax error, unexpected kEND, expecting $end ~/prog_dev/ruby/gist772827-61376303a967918b698bc0ddb50af26d6368438c $ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]