Description
Perl programs can use fcntl-based file locking to coordinate access between processes. This is useful for scripts and services that must avoid two writers changing the same file at the same time.
It is a filesystem coordination library. Correct locking depends on all participating programs following the same lock rules and handling stale or failed operations.