From: "David A. Black" Date: 2010-04-18T00:34:55+09:00 Subject: Re: Trouble with Pushing Arrays to Arrays Hi -- On Sat, 17 Apr 2010, Derek Cannon wrote: >> The problem is that you're reusing temp, and clearing it. > > Doh! I knew it was something easy. The raw_course_list is pushing a > pointer to temp, not creating a copy of temp to push. Is this correct? Yes, essentially, though the more standard word in Ruby is "reference". David -- David A. Black, Senior Developer, Cyrus Innovation Inc. THE Ruby training with Black/Brown/McAnally COMPLEAT Coming to Chicago area, June 18-19, 2010! RUBYIST http://www.compleatrubyist.com