On Jun 3, 2005, at 2:05 PM, Patrick Gundlach wrote:
> the last line gives me an error
>
> -:11: syntax error
> a.foo=("bar","baz")
>              ^


a.foo = ["bar","baz"];

You cannot have more than one value on the right side of a call to a  
method whose name ends in =.

(But you can do:
   a.foo, b.foo = "bar", "baz"
which is the same as:
a.foo = "bar"
b.foo = "baz"