From: Ammar Ali Date: 2010-12-28T04:06:13+09:00 Subject: Re: Peek at $stdin On Mon, Dec 27, 2010 at 8:12 PM, Intransition wrote: > Any way to peek at the first character of $stdin without actually > consuming it? What about IO#getc and IO#ungetc. Regards, Ammar