NAME

PID::File::Guard - Provides scope guard to remove the pid file automatically.

Methods

Class Methods

new

my $guard = PID::File::Guard->new( $object, 'method' );

Creates a new guard token that will call the method on the object when it goes out of scope.