From: Sebastian Hungerecker Date: 2007-09-30T17:42:30+09:00 Subject: Re: Newbie needs help getting user input Peter Vanderhaden wrote: > print STDERR "Enter option: "; The ruby equivalent of this would be STDERR.print "Enter option: " but why STDERR? That hardly looks like an error message to me. > chomp ($option = ); That would be gets.chomp or STDIN.gets.chomp if you want to make sure that you read from STDIN. > I've searched the web and several books, but I haven't found anything > that works. It also seems that my system doesn't recognize "gets". Your system is not supposed to recognize gets. If your ruby does not recognize gets, there is something seriously wrong with your ruby installation. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826