okay, a small change to the _readline() modification. call it like this: $thing->_readline(-raw=>1); when you want to leave \r\n alone. Call it, as usual: $thing->_readline(); to get the \r\n stripping behaviour. it's in the perldoc. -Allen