From: Kent Dahl Date: 2002-05-22T22:20:04+09:00 Subject: Re: Rewrite this without using eval... Christoph wrote: > [@a, @b].collect! { |iv| iv+=1 } This doesn't appear to change the values of @a and @b, which it seems like the OP wanted. -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 4. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)