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.
In reply to Re: Perl 5.12: layers and opening scalars as file handles
by ikegami
in thread Perl 5.12: layers and opening scalars as file handles
by afoken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |