From: Nikhil Warade Date: 2008-03-12T16:03:26+09:00 Subject: Input using stdin How can I give input to a program using STDIN Suppose I want the program to take the value x=10 On some other site i found it as STDIN.read,but its not working. -- Posted via http://www.ruby-forum.com/.