From: James Edward Gray II Date: 2005-07-28T22:10:16+09:00 Subject: Re: Idea for Ruby 2.0 On Jul 28, 2005, at 5:03 AM, Nikolai Weibull wrote: > Lately I've found myself using pseudo-anonymous variables a lot, e.g., > something like this: > > [[1, 2], [2, 3], [3, 4]].each{ |first, _| fs << first } > > The idea is that I'm not interested in the second part of the internal > arrays, only the first. > Perl solves this by allowing you to assign to undef: $ perl -e '($one, undef, $two) = split " ", "1 2 3"; print "$one $two \n"' 1 3 Just FYI. James Edward Gray II