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

Re: how to make close() fail

by toolic (Bishop)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996313]
help
Chatterbox?
[mark4]: Did activestate use to inclued teh perl packager, pp.exe in the standard distribution? I can't fine "pp.exe" anywhare.
[marto]: no

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2018-01-19 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (218 votes). Check out past polls.

    Notices?