From: Dan Diebolt Date: 2005-12-13T08:25:54+09:00 Subject: Way to combing Hash Definition sans => with %w() ? --0-882415816-1134429946=:10511 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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"} Thanks! --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-882415816-1134429946=:10511--