Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Bad file descriptor error

by Corion (Pope)
on Sep 05, 2012 at 08:19 UTC ( #991778=note: print w/ replies, xml ) Need Help??


in reply to Re: Bad file descriptor error
in thread Bad file descriptor error

Oh - I completely missed that.

The title in the question likely stems from a erroneous use of $! in the die message.

As an explanation to the OP, please read perlvar about $!. It rightly says there:

Many system or library calls set errno if they fail, to indicate the cause of failure.

Using $! in situations that are not immediately after a related system call is usually wrong.


Comment on Re^2: Bad file descriptor error
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-07-05 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls