From: Steven Lumos Date: 2006-06-06T06:59:03+09:00 Subject: Re: An alternative to the class Foo < Struct.new(vars) idiom and SuperStruct Logan Capaldo writes: > This is why I kind of like how in Perl => is just a synonym for comma > (it is in ruby too, at least for Hash literals, the problem being > that it forces a hash literal). then I stopped using Perl when I started using Ruby, but I seem to recall that => in Perl does more than comma. E.g. {a => 1, b => 2} is mostly equivalent to {'a', 1, 'b', 2}. Ruby doesn't do the magic quoting. Steve