Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Problem with POE-Component-DirWatch

by runrig (Abbot)
on Mar 13, 2006 at 23:08 UTC ( #536410=note: print w/replies, xml ) Need Help??


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

Find the rewind line in the poll subroutine in the module and replace it with:
# rewind to directory start # $heap->{DirHandle}->rewind; $heap->{DirHandle}->close; $heap->{DirHandle}->open($heap->{Directory}) or croak "Can't open $heap->{Directory}: $!\n";
The module and your code seem to work with the above changes. (I've emailed the module author with a link to this thread).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-09-16 23:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?