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:
The module and your code seem to work with the above changes. (I've emailed the module author with a link to this thread).# rewind to directory start # $heap->{DirHandle}->rewind; $heap->{DirHandle}->close; $heap->{DirHandle}->open($heap->{Directory}) or croak "Can't open $heap->{Directory}: $!\n";
|
---|
In Section
Seekers of Perl Wisdom