http://qs1969.pair.com?node_id=1195613


in reply to sysread() is deprecated on :utf8 handles

sysread() reads only bytes and does not perform any UTF-8 validation. It thus does not make very much sense to use sysread on UTF-8 layered input.

Update: see also http://perldoc.perl.org/perl5240delta.html#sysread()%2c-syswrite()%2c-recv()-and-send()-are-deprecated-on-%3autf8-handles.