Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: sysread() is deprecated on :utf8 handles

by thanos1983 (Parson)
on Jul 20, 2017 at 11:44 UTC ( #1195592=note: print w/replies, xml ) Need Help??


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

Hello mje

You could use File::Slurper which does not have this problem. Source of information Bug 1425077 - Deprecated use of Slurp.

I quote from the reference above:

The best thing to do would be to backport the upstream patch that make +s Bugzilla use File::Slurper (which doesn't have the issue) instead o +f File::Slurp.

I have not tested, so I can not say 100% will work but you can update us after applying it. :)

Hope this helps, BR

Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1195592]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2019-12-07 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (160 votes). Check out past polls.

    Notices?