From: Sy Ali Date: 2006-06-04T14:10:04+09:00 Subject: Re: private method `split' ? Ok, so here's a simplified summary: def a(array) # build an array in here return array # This is the problem! end foo.each { |i| output << a(i) } puts output.join("\n") In one place I was building an array internally and then returning that array. It was then being used to build another array. The problem is in the return statement. So return array becomes return array.join("\n") I don't get it.. but at least it's working. Now i'm on to other curious issues, such as why pause = gets.chomp gives me: `lstat': No such file or directory - pause (Errno::ENOENT) and works differently inside and outside of a wrapper-script. Hrmph!