in reply to Help with string concat and sockets
To test this, you could try join-ing on a carriage return ("\n"), just to see if this is indeed the problem. If your data looks right, this could be it. In which case you'll want to strip control-M characters:
tr/\cM//d;
|
|---|