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: rc040203(a)freenet.de
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: lxtnow(a)gmail.com, perl-devel(a)lists.fedoraproject.org,
rc040203(a)freenet.de
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(),...;.
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.