On 01/29/2010 05:48 AM, Michel Fortin wrote:
No. Calling byLine doesn't change the stream. It returns a different view of stdin, which can be used to modify the stream, or not. I think it should be a property. If it was 'getNextLine' then it should be a function. As a proof, this doesn't have any effect: stdin.byLine;
It reads a line off stdin. Try it.