From: Servando Garcia Date: 2007-03-20T20:33:09+09:00 Subject: array to hash
Hello all
    Is there a method to collect the items in an array into a hash
 
I want to go from this X =[1,2,3,4,5,6] to this Y={1 =>2, 3 =>4, 5 =>6}
 
Just seems like there should be one
 
Thanks in advance
 
Sam