in reply to Re^17: How do I display only matches
in thread (SOLVED) How do I display only matches

although it was a no-op when I learned Perl in the 5.6 era

True, although I think that pre-5.8 knowledge is the source of much of the misinformation in this subthread - that's when PerlIO was made the default. (OTOH, interestingly, the relevant parts of the section Newlines in perlport has remained pretty much unchanged since its introduction about 20 years ago in 5.005.)

So it is now equivalent to binmode FILEHANDLE, ':raw'?

Well, to be nitpicky, it always was documented to be so, since the second argument was introduced in v5.6.

Replies are listed 'Best First'.
Re^19: How do I display only matches
by jcb (Parson) on Oct 03, 2019 at 22:18 UTC

    I must have forgotten that part because I did not understand "those weird colon things" at the time. :-)

    Were I/O layers still being called "disciplines" at the time? I still have very little idea of what a "line discipline" is supposed to do in POSIX, although I suspect that it has something to do with the CRLF translations that occur on terminal devices.