Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Testing $! when use strict is in effect

by Dallaylaen (Chaplain)
on Oct 23, 2016 at 22:16 UTC ( [id://1174564]=note: print w/replies, xml ) Need Help??


in reply to Testing $! when use strict is in effect

You can check condition "error EFOO is the case" via the %! magic hash:
if ($!{EWOULDBLOCK} ) { # would block };
Search for %ERRNO in perldoc perlvar.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found