Why is the input layer not converting 0x0d0a to 0x0a?
It is for me
$ perl -e" binmode STDOUT; $|=1; print qq[\x0d\x0a]; " | od -tx1 0000000 0d 0a 0000002 $ perl -e" binmode STDOUT; $|=1; print qq[\x0d\x0a]; " | perl -e" use +open qw/ IN :crlf OUT :raw /; print join q/ /, unpack q/H*/, scalar<> +; " 0a $ perl -e " die $] 5.014001 at -e line 1.
See also Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma? / #92728: pragma open handles STDERR improperly
In reply to Re: diamond operator, inplace edit and io layers
by Anonymous Monk
in thread diamond operator, inplace edit and io layers
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |