From: Austin Ziegler Date: 2005-05-07T02:22:36+09:00 Subject: Re: object reference handle (like perl's reference to scalar) On 5/5/05, Eric Mahurin wrote: > def swap(a,b) > tmp = a[] > a[] = b[] > b[] = tmp > end > > swap(ref{:x},ref{:y}) # swap the object references in x and y > > See how useful this thing is? x, y = y, x -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca