From: Simon Strandgaard Date: 2003-12-12T09:36:58+09:00 Subject: Re: Simple issue giving problems On Thu, 11 Dec 2003 20:26:53 -0400, Brad wrote: > I was wondering if there were some way to allow manipulations of > function/methods parameters such that the calling processes variable > values would be modified. irb(main):001:0> ary=%w(a b c d) => ["a", "b", "c", "d"] irb(main):002:0> def test(val) irb(main):003:1> val[2] = 42 irb(main):004:1> end => nil irb(main):005:0> test(ary) => 42 irb(main):006:0> ary => ["a", "b", 42, "d"] irb(main):007:0> -- Simon Strandgaard