|$path||Optional argument, if provided options dir,name and ext will be silently ignored.|
dir => directory
Base directory for pid file (by default File::Spec::tmpdir called).
name => basename
Name for pid file (by default like a script self).
ext => extension
Extension for pid file (.pid by default).
raise => 1
Use croak instead of simple exit. Usable from caller eval block to handle unsuccessful locking attempts.
debug => 1
Switch debug mode on (some information via STDERR).
quiet => 1
Switch quiet mode on (dont warn about staled pid files).
Dont try to remove pid file during destruction. Become for using in forking applications.
You havent call these methods directly.
Process fake import list.
Acquiring lock, called by new constructor.
Attempting acquire lock with additional checks.
Unlink pid file, handle will be closed a bit later, during object destructing.
Lock object destructor.
Undefine module lexical variable to force DESTROY invoking.
Oleg A. Mamontov, <oleg at mamontov.net>
Module works with advisory files locking which is not implemented on win32 platform.
Please report any bugs or feature requests to bug-pid-file-flock at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Pid-File-Flock>. I will be notified, and then youll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
o RT: CPANs request tracker
o AnnoCPAN: Annotated CPAN documentation o CPAN Ratings o Search CPAN
Copyright 2009 Oleg A. Mamontov, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||PID::FILE::FLOCK (3)||2010-11-19|