I don't see any problems with your presented statement.
I was rather shocked when I stumbled across the new sysread behavior for UTF-8 streams. It seems rather nonsensical to me, demonstrating a lack of understanding or appreciation of several of the reasons why Perl even has sysread().
One not-yet-published module of mine notes:
At least in some versions of Perl, if a file handle has the ":utf8" encoding layer in place [such as via binmode()], then sysread() does some weird and unfortunate things under the covers beyond just calling the read(2) system call once. This makes 4-argument select() incompatible with sysread() for those versions of Perl (when the ":utf8" layer is used).
[....]
You should probably avoid the ":utf8" layer for file handles you wish to use with 4-argument select().
- tye
In reply to Re: UTF-8 and systemIO are not friends anymore (unfortunate)
by tye
in thread UTF-8 and systemIO are not friends anymore
by Tommy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |