From: ptkwt@... (Phil Tomson) Date: 2003-11-30T04:27:11+09:00 Subject: Re: anything disappearing from Ruby for 2.0? In article <1070125296.186134.15652.nullmailer@picachu.netlab.jp>, Yukihiro Matsumoto wrote: >Hi, > >In message "anything disappearing from Ruby for 2.0?" > on 03/11/29, "David A. Black" writes: > >|Is anything disappearing from Ruby in 2.0? Not that I have a very big >|list of things I want removed :-) but I'm wondering, for example, >|about the Perl-like special variables. And just wondering generally >|if there's anything in that category. > >Candidates are: > > * ../... in condition > * regex literal in condition Why these two? So you mean that we could no longer say: case year when 1981 .. 1989 then "Reagan" when 1989 .. 1992 then "Bush" when 1993 .. 2000 then "Clinton" when 2001 .. 2004 then "BushII" end or: case line when /failed/ failed +=1 when /warning/ warning +=1 when /pass/ pass +=1 end I'd certainly miss not being able to do these sorts of things. > * Prec module Prec? > * maybe a few other things I can't think of now Phil