[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:       nobu.nokada () softhome ! net
Date:       2004-01-30 1:10:33
Message-ID: 200401300110.i0U1AVa0005071 () sharui ! nakada ! kanuma ! tochigi ! jp
[Download RAW message or body]

Hi,

At Fri, 30 Jan 2004 10:07:49 +0900,
Dion Mendel 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?

It should be another method, I guess.

-- 
Nobu Nakada

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

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