Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Error binmode() on unopened filehandle

by Marshall (Canon)
on May 03, 2020 at 21:54 UTC ( [id://11116411]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Error binmode() on unopened filehandle
in thread Error binmode() on unopened filehandle

Ok. But I refer you to https://perldoc.perl.org/functions/binmode.html.
In general, binmode should be called after open but before any I/O is done on the filehandle.
Yes, there are some exceptions to this "rule". But I figure this "rule" is a good one.
  • Comment on Re^5: Error binmode() on unopened filehandle

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-18 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found