From: botp Date: 2011-02-24T12:49:35+09:00 Subject: Re: a, b = Array.new(2).map!{|x| data.dup} On Thu, Feb 24, 2011 at 6:24 AM, Stefan Salewski wrote: > On Thu, 2011-02-24 at 07:00 +0900, niklas | brueckenschlaeger wrote: >> Are you sure you can't rework your code to *not* copy data 5x? > > The code is related to handling configuration files, I have a basic ok, try also something like, a,b,c,d,e =[x.dup]*5 best regards -botp