App-Inotify-Hookable

 view release on metacpan or  search on metacpan

lib/App/Inotify/Hookable.pm  view on Meta::CPAN

                $self->log("EVENT: " . $dumper_squashed->({
                    cookie => $event->cookie,
                    fullname => $event->fullname,
                    mask => $self->_bitmask->explain_mask($event->mask),
                })) if $self->debug;
            }
            $log_modified_paths->(\@events);
            @events = ();
            try {
                local $SIG{ALRM} = sub {
                    die "Timeout waiting for ->read";
                };
                ualarm($sleep_us);
                @events = $notifier->read;
                ualarm(0);
            } catch {
                $self->log("We have no more events with a timeout of $sleep_ms ms") if $self->debug;
            };

            if (@events) {
                $self->log("We have events, waiting another $sleep_ms ms and checking again") if $self->debug;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.010 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )