Subject: | uninitialized value warning if you call running without an existing pid file (ie run the first time) |
Use of uninitialized value in kill at /usr/local/icg/lib/perl/CPAN/lib/File/Pid.pm line 124.
here is my fix:
sub running {
my $self = shift;
my $pid = $self->_get_pid_from_file or return undef;
return kill(0, $pid)
? $pid
: undef;
}
Thanks,
Gayle
Awesome Module