in reply to Re^2: How to test for a new linein thread How to test for a new line
Oh - turn on warnings. You'll have found you're not doing what you think you're doing.