From: Lyle Johnson Date: 2002-04-20T04:49:44+09:00 Subject: Re: String to method name > I realize that, but I'm not going to do any changing. The gist of what > I'm trying to do is this, have a something like this in perl: > > SenslessNames{badGuyType}{badGuyShow} = badGuy; > > So you could do a lookup by type and show and get a given badGuy string > returned. Can you do multidimensional (double key) hashes in Ruby? It sounds like you're just talking about a Hash object (SenslessNames) whose keys are strings (indicating the bad guy type) and the associated values are themselves hashes (of show titles to bad guy names). Maybe something like this: badGuyType = "mutantMonkey" badGuyShow = "powerPuffGirls" badGuy = "Mojo Jojo" SenslessNames = {} SenslessNames[badGuyType] = { badGuyShow => badGuy } puts SenslessNames["mutantMonkey"]["powerPuffGirls"] # prints "Mojo Jojo" Hope this helps, Lyle