[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: why won't ruby chomp for me?
From:       Dion Mendel <nsb034 () lostrealm ! com>
Date:       2004-01-30 1:07:49
Message-ID: 20040130010750.GA751 () localhost
[Download RAW message or body]

On Fri, Jan 30, 2004 at 12:04:30AM +0900, Emmanuel Touzery wrote:

> i find myself many times forgetting that chomp and the 
> fact ruby offers me the "raw" line format never ever helped me in any 
> way. is it just historical praise to Perl?

I too find the chomp an ugly perlism.  Has anyone written code that
makes use of the trailing line separator from IO#gets?

Unless someone argues why it would not be a good idea, I will submit an
RCR for changing IO#gets to not include the trailing line separator by
default.

Dion.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic