Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: read closed directory handle?

by mkmcconn (Chaplain)
on Jan 27, 2001 at 03:01 UTC ( [id://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.

mkmcconn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found