Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: read closed directory handle?

by mkmcconn (Chaplain)
on Jan 27, 2001 at 03:01 UTC ( #54664=note: print w/replies, xml ) Need Help??

in reply to read closed directory handle?

  Thanks to KM and lemming for the speedy reply. I didn't realize that I couldn't resubmit the post, or I would have cleaned up the errors I made in testing the code as posted, and I would have rephrased the question: "Why didn't this do what I expect". It will, of course, run when invoked directly.

  The point my two helpers made, is the lesson to take away: that close(FILEHANDLE) and closedir(DIRHANDLE) are not the same thing, FILEHANDLE and DIRHANDLE have separate namespaces (and thou shalt thoroughly test all operations, with warnings)
  Thanks again, brethren.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-06-05 21:11 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (26 votes). Check out past polls.