Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: how to make close() fail

by toolic (Chancellor)
on Sep 29, 2012 at 01:11 UTC ( #996313=note: print w/ replies, xml ) Need Help??


in reply to how to make close() fail

Can you close the filehandle, then try closing it again?

open my $fh, '>', 'foo'; close $fh; close $fh or die $!; __END__ Bad file descriptor at


Comment on Re: how to make close() fail
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-29 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls