At 19:23 11.05.01 +0900, Renald Buter wrote:
>Sorry to raise another newbie question,
>
>Coming from a perl world, I like to write something like
>
>	%hash = qw( foo led bar tender )
>
>and have a hash initialized to 
>
>	{foo => led, bar => tender}
>
>Is anything like this possible in Ruby?

hash = Hash[foo, led, bar, tender]

See

http://www.rubycentral.com/book/ref_c_hash.html#_ob_cb

-
Tammo

-
Tammo Freese
freese / acm.org