From: Richard Lionheart Date: 2004-07-06T00:37:40+09:00 Subject: How do you like this? stmt = '{"a"=>%w(a1 a2 a3), "b"=>%w(b1 b2 b3)}' puts "h = " + stmt h = eval stmt v = h.values print "h.values => [ " v.each { |x| print "[" + x.join(", ") + "] " }; puts "]" puts "h.values => " n=1 v.each do |x| puts "\tValue #{n}: [ #{x.join(", ")} ] (Class=#{x.class})"; n += 1 end HTH, Richard --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 7/3/2004