Thanx Mark This is exactly what i liked to hear :-) > In my personal opinion, multilevel hashes aren't clean and elegant in > any language. HoH are quiet common in perl (at least I use them alot), not in Ruby IMHO. But as always: TMTOWTDI > I'd try to make an object out of it: > > class Interface > attr_accessor :name, :ip, :mask, :cidr > end > > i = Interface.new > i.name = "eth0" > i.ip = "10.0.0.1" > i.mask = "255.255.255.0" > i.cidr = 24 > > - Mark. -- Posted via http://www.ruby-forum.com/.