in reply to auto add a carriage return in front of a line feed, how to delete this auto character.
To solve your problem, try one of these:
To see what I/O layers are active for STDOUT, use:binmode STDOUT, ":unix"; binmode STDOUT, ":raw";
My ActiveState Win32 perl reports the layers unix crlf for STDOUT. On the same box, however, Cygwin perl reports the single layer stdio.print "@{[PerlIO::get_layers(STDOUT)]}\n";
|
|---|