From: ts Date: 2001-09-22T22:16:24+09:00 Subject: [ruby-talk:21532] Re: ARGF question >>>>> "M" == Mark Slagell writes: M> (1) while (line=gets) { ... } M> (2) everything = readlines M> everything.each { |line| ... } M> So this is really an implementation question. I'm trying to figure out M> if ARGF.each{|line...} behaves like (1) or like (2). like (1) Guy Decoux