On 12/2/05, Kev Jackson <kevin.jackson / it.fts-vn.com> wrote:
> I have 2 arrays and I'd like to change them into a Hash


pairs=%w(a b c d).zip(%w(x y));Hash[*pairs.flatten]
=> {"a"=>"x", "b"=>"y", "c"=>nil, "d"=>nil}

--
Simon Strandgaard