Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Problem with POE-Component-DirWatch

by sgt (Deacon)
on Mar 13, 2006 at 23:36 UTC ( #536417=note: print w/replies, xml ) Need Help??

in reply to Re: Problem with POE-Component-DirWatch
in thread Problem with POE-Component-DirWatch

Actually talking un*x, if you open a file, do stuff and at some point rewind it, i would not like the system to close and reopen the descriptor for me; they are many reasons: many passes onthe same file, descriptor sharing with children...etc I would expect the same behaviour for dir handles; this means rewinding makes you look at the same structure again... % perldoc -f rewinddir rewinddir DIRHANDLE Sets the current position to the beginning of the directory for the "readdir" routine on DIRHANDLE. it does not say the handle is closed and then reopened... actually a poor man's rewinddir will do just that... from what you say it seems this time that it is perl on unix that does it wrong (poorly)...this should be filed as a bug
  • Comment on Re^2: Problem with POE-Component-DirWatch

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2021-09-16 12:12 GMT
Find Nodes?
    Voting Booth?

    No recent polls found