in reply to Re^3: Writing a UNIX text line - the end character challenge
in thread Writing a UNIX text line - the end character challenge

That did it!!
No binmode on input but binmode on output.
Many thanks
  • Comment on Re^4: Writing a UNIX text line - the end character challenge