From: Lee Jarvis Date: 2007-10-03T04:21:30+09:00 Subject: Re: Hashes Thanks a lot, that was perfect :) One query though, i used structs and had this code Room=Struct.new(:topic,:nicks,:id) rooms={"room1" => Room.new("room1 topic", [nick1, nick2, nick3], 101), "room2" => Room.new("room2 topic", [nick1, nick2, nick2], 102) } lets say the topic of room 1 changes, well rooms["room1"].topic = "new topic" won't work, is there a reason? or another way to change it? Thanks again for the help -- Posted via http://www.ruby-forum.com/.