Robert Klemme wrote: >> first, last = person.split(/\s+/) >> found_person = people.find { | person | >> person["first"] == first and person["last"] = last >> } >> >> Also, do yourself a favour and use a Person class - hashes where the >> elements have heterogenous meanings make Baby Data Model Design Jesus >> cry. And index them in a hash by the first name and last name string >> pair. > > Fully agree. And take care to use the correct number of equal signs in > all places. :-) Pwnt. *sigh* (Shh: Ixnay on the bug introduction. All part of the conspiracy.) David Vallner