https://bugzilla.redhat.com/show_bug.cgi?id=1450364
Bug ID: 1450364
Summary: read_file(, binmode => ':utf8) produces warnings
Product: Fedora
Version: 25
Component: perl-File-Slurp
Keywords: Regression
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected],
[email protected]
External Bug ID: CPAN 117005
Perl 5.24 started to warn when performing sysread() on a UTF-8 file handle
<http://search.cpan.org/~shay/perl-5.24.1/pod/perl5240delta.pod#sysread(),_syswrite(),_recv()_and_send()_are_deprecated_on_:utf8_handles>.
That means File::Slurp as provided in Fedora 25
(perl-File-Slurp-9999.19-15.fc25.noarch) and newer triggers the warning:
$ perl -MFile::Slurp -e 'File::Slurp::read_file(q{/etc/hosts}, q{binmode} =>
q{:utf8})'
sysread() is deprecated on :utf8 handles at
/usr/share/perl5/vendor_perl/File/Slurp.pm line 225.
It would be great to fix File::Slurp not to produce the warning.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]