Note that on *nix, the "default text I/O layer" is probably :raw and :crlf is not used unless requested
A bit of a nitpick, from PerlIO:
:raw
... The implementation of :raw is as a pseudo-layer which when "pushed" pops itself and then any layers which do not declare themselves as suitable for binary data.
The defaults on 5.28:
$ perl -wMstrict -MData::Dump -e "dd PerlIO::get_layers(STDOUT)" ("unix", "perlio") C:\>perl -wMstrict -MData::Dump -e "dd PerlIO::get_layers(STDOUT)" ("unix", "crlf")
Update: There appears to be a a bug in PerlIO::get_layers() that causes the :crlf layer to always be reported on Windows, even after a binmode. (But the PerlIO documentation does confirm the above defaults.)
In reply to Re^12: How do I display only matches (updated)
by haukex
in thread (SOLVED) How do I display only matches
by tem2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |