From: James Edward Gray II Date: 2005-12-13T03:46:09+09:00 Subject: Re: new to Ruby - pls help in translating this On Dec 12, 2005, at 12:32 PM, William James wrote: > Also, as in Awk, "print" with no argument prints the line just read. > Very simple. If one needs to explicitly refer to the line just read, > one uses "$_". > > And "while gets" is simpler and clearer than "ARGF.each do |elem|". You would get a lot of support in Perland, but this kind of code is very out of fashion in the Ruby community. James Edward Gray II