From: Robert Klemme Date: 2004-02-17T20:59:59+09:00 Subject: Re: has /foo/../bah/ changed? "Ronald E Jeffries" schrieb im Newsbeitrag news:s3v230pnp6tkroucj9rvhp007i5cn429dl@4ax.com... > On Tue, 17 Feb 2004 07:54:10 +0900, Guillaume Marcais > wrote: > > > > >Change it to (untested): > > > >def procfile (input, output) > > @printfile = true > > while l = input.gets > > if l =~ /
> procline(input, l, output) > > end > > end > >end > > > >The flipflop operator may/will disappear in the next revision of Ruby. > >Do a search on ruby-talk for lengthy discussions on wether or not to > >save flipflop. > > Thanks! > > In what way are these improvements? The meaning of ".." changes when in the context of "if", "unless", "while" etc. This is not obviuos. For further reference see the lengthy discussion. robert