Thanks for testing !
Yes, if you explicitly specify the :perlio (or on MacOS maybe better :stdio) layer the stream will be buffered. What I don't understand (yet ?) is why a simple :raw removes all layers, including the existing :perlio (or in your case :stdio) layer.
But I have the feeling, that that behaviour may be intentional and that only the documentation is a bit misleading here.
In reply to Re^2: Using ":raw" layer in open() vs. calling binmode()
by Anonymous Monk
in thread Using ":raw" layer in open() vs. calling binmode()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |