From: Carlos Date: 2005-03-16T21:14:15+09:00 Subject: Re: Great Computer Language Shootout [William James , 2005-03-15 14.56 CET] > > William James wrote: [...] > > > freq = Hash.new(0) > > > loop { > > > data = (STDIN.read(4095) or break) + (STDIN.gets || "") > > > for word in data.downcase!.tr!('^a-z',' ').split But "a".downcase! => nil ... And the same with most !-methods (they return nil when nothing was changed).