I wrote: > I saw some discussion today that the :raw pseudo-layer in the open() > call will also remove the buffering layer (it doesn’t do that when you > use it in a binmode() call). I’ll try to remember to send a followup > once I actually understand what is going on.
That seems indeed to be the case right now. The bug is filed here: http://rt.perl.org/rt3//Public/Bug/Display.html?id=80764 A workaround is to use ":raw:perlio" instead of ":raw" to turn to binmode without losing the buffering. Cheers, -Jan