From: Sebastian Hungerecker Date: 2008-05-08T03:21:02+09:00 Subject: Re: hash adding values Tim Wolak wrote: > Is there a reason this is not > working? > > sktylist = Hash.new("") >             sktylist[@acctnum] += [value] >          p sktylist Yes, there is: String#+ does not expect an array as an argument. sktylist[@acctnum] += value would work if value is a string. (Alternatively you could change the hash to hold arrays instead of strings and keep the += [value] part as-is, if that's what you want). HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826