On Sat, Dec 06, 2003 at 01:10:42AM +0900, David A. Black wrote: > I think what Mark means is that if you've got this: > > def []=(keys,values) > > and you do what amounts to this: > > hash[1,2,3] = 4,5,6 > > then in effect you've got a call like this: > > hash[]=(1,2,3,4,5,6) > That is indeed what I meant, but it turns out not to be the case. If you do this: hash[1,2,3] = 4,5,6 it turns out to be equivalent to this: hash.[]=(1,2,3,[4,5,6]) so the key/value division is done for you by Ruby (all the values are in the last argument), which is how the hashslice module in the RAA works. So I decided to use that module. Thanks to everyone for their replies. -Mark