From: Ian Macdonald Date: 2003-12-01T09:32:17+09:00 Subject: Re: anything disappearing from Ruby for 2.0? On Sun 30 Nov 2003 at 12:48:34 +0900, Ferenc Engard wrote: > > Candidates are: > > > > * Perl style variables > > If you still intend to use ruby for one-liners, then they should remain > IMHO. Anyway, they do not harm anybody. I vote to not removing them. I would like to lend my voice to the choir in favour of keeping them. I would never use $_ in code that I expected to re-use, but for writing one-liners on the command-line, it's indispensible and avoids longer constructs that add no value to disposable code. In my opinion, these useful shortcuts are one of the things that make Ruby such a useful language for system administration, moreso than Python, for example. I'd like to continue to use Ruby for everything and not have to resort to using Perl again for my one-liner work. Ian -- Ian Macdonald | Toothpaste never hurts the taste of good System Administrator | scotch. ian@caliban.org | http://www.caliban.org | |