in reply to Perl 5.12: layers and opening scalars as file handles
The documentation says "The :raw layer is defined as being identical to calling binmode($fh)"
In reality, :raw removes all layers. That includes the one the low level ones such as the one that redirects the IO to a var.
There is definitely a bug, but I don't know if it's in the docs, in the implementation or in both.
|
|---|