From: Tom Sawyer Date: 2003-02-03T18:31:57+09:00 Subject: Re: Hash#+ ? On Sunday 02 February 2003 11:25 pm, Akinori MUSHA wrote: > At Thu, 23 Jan 2003 13:38:01 +0900, > > Tom Sawyer wrote: > > > So you guys are OK for value losing "or" or "|" methods? > > > > > > matz. > > > > yes. a number of times in my experience a non in-place version of update > > would have been handy. > > What's wrong with 'hash3 = hash1.dup.update(hash2)' ? And I'd like to > know how a non in-place version of update is used that frequently. > Would you show us some (live) examples? well, i don't have any LIVE examples b/c hash#| dosen't exist, now does it! :-) but i will give you some places i could have used it as i come across them. sorry, i don't have time to go dig them up right now. -- tom sawyer, aka transami transami@transami.net