From: Mario Ruiz Date: 2008-01-22T21:42:17+09:00 Subject: Hash two dimensions Hi Everybody! I'm doing this: $Config=Hash.new(Hash.new()) $Config["UNO"]["urlX"]="beep/UNO/playdoit.do" $Config["UNO"]["urlY"]="beep/UNO/dontplayPP.do" $Config["UNO"]["urlZ"]="beep/UNO/dontplay34jo.do" $Config["DOS"]["urlX"]="beep/DOS/playad.do" $Config["DOS"]["urlY"]="beep/DOS/dontplayf.do" $Config["DOS"]["urlZ"]="beep/DOS/dontplay34aa.do" $Config["TRES"]["urlX"]="beep/TRES/playcs.do" $Config["TRES"]["urlY"]="beep/TRES/dontplayff.do" $Config["TRES"]["urlZ"]="beep/TRES/dontplay34s.do" when I try to access to the value in $Config["UNO"]["urlY"] the result is the value in $Config[TRES"]["urlY"] Why?? Thanks a lot. -- Posted via http://www.ruby-forum.com/.