On Dec 12, 2005, at 5:25 PM, Dan Diebolt wrote:

> I have a large amount of text pairs (no spaces inthe text) that I  
> need to turn into a hash. Is there a shorcut that will allow me to  
> create the hash without entering the quotes and arrows?
>
>   %w(apple bananna orange grape)
>   => ["apple", "bananna", "orange", "grape"]
>
>     Hash["apple","bananna","orange","grape"]
>   =>{"apple"=>"bananna", "orange"=>"grape"}

 >> Hash[*%w(apple bananna orange grape)]
=> {"apple"=>"bananna", "orange"=>"grape"}

James Edward Gray II