Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > e482fb59a4679f882c05e7eef071d4df

perl-File-Pid-1.10.0-3.mga4.noarch.rpm

Description:

This software manages a pid file for you. It will create a pid file, query
the process within to discover if it's still running, and remove the pid
file.

new
my $pidfile = File::Pid->new;

my $thisfile = File::Pid->new({
file => '/var/run/daemon.pid',
});

my $thisfileandpid = File::Pid->new({
file => '/var/run/daemon.pid',
pid => '145',
});

This constructor takes two optional paramters.

Sources packages:

Other version of this rpm: