Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Lammentful logs fouled by failing filehandling

by JavaFan (Canon)
on Apr 30, 2012 at 22:15 UTC ( [id://968166]=note: print w/replies, xml ) Need Help??


in reply to Lammentful logs fouled by failing filehandling

It logs it correctly (as I expect it to), but it also sets $! to 'Inappropriate I/O control operation.'
Yeah, and?

$! is defined to contain only a meaningful value right after a failed system call (it links to errno, which has the same behaviour). Any system call is free to do whatever it wants with errno/$! if the call succeeds.

Since your code succeeds, the value of $! is meaningless.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found