Filesys-Notify-KQueue
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Filesys/Notify/KQueue.pm view on Meta::CPAN
our $VERSION = '0.11';
use File::Find ();
use IO::KQueue;
sub default_timeout { 1000 }
sub new {
my $class = shift;
my $args = (@_ == 1) ? $_[0] : +{ @_ };
my $self = bless(+{} => $class);
$self->timeout(exists $args->{timeout} ? $args->{timeout} : $class->default_timeout);
$self->{_kqueue} = $args->{kqueue} if exists($args->{kqueue});
$self->add(@{$args->{path}}) if exists($args->{path});
return $self;
}
sub kqueue {
my $self = shift;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.818 second using v1.00-cache-2.02-grep-82fe00e-cpan-a086c87fca4 )