http://www.perlmonks.org?node_id=45901


in reply to Can I read a line from a socket without the socket sending \n?

Ok ask your self this,
what is a line?
if you can answer it without using '\n' then you can read a line without sending '\n'.
If i were you i would seriously consider limiting the length of a line to 80 characters,
that way when you just read 80 chars you consider it a line or just stick to what works and send '\n'.
  • Comment on Re: Can I read a line from a socket without the socket sending \n?