From: James Edward Gray II Date: 2006-12-17T01:12:47+09:00 Subject: Re: matching lines.... On Dec 16, 2006, at 4:39 AM, Just Maz wrote: > hobbies being the list of hobbies of one person > and persons_hobbies being...list of people who have hobbies??? hobbies looks like: {"football" => ["Kevin", "John"], ...} persons_hobbies looks like: {"John" => ["football", "karate"], ...} Others have shown how to do it with just one data structure and some iteration though. James Edward Gray II