Tie::MLDBM::Lock::File

Tie::MLDBM Locking Component Module
Download

Tie::MLDBM::Lock::File Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Rob Casey
  • Publisher web site:
  • http://search.cpan.org/~robau/Tie-MLDBM-1.04/lib/Tie/MLDBM/Store/DBI.pm

Tie::MLDBM::Lock::File Tags


Tie::MLDBM::Lock::File Description

Tie::MLDBM Locking Component Module Tie::MLDBM::Lock::File is a Tie::MLDBM Locking component module.SYNOPSIS use Tie::MLDBM; tie %hash, 'Tie::MLDBM', { 'Lock' => 'File', 'Lockfile' => '/tmp/Tie-MLDBM-Lock-File.lock' } ... or die $!;This module forms a locking component of the Tie::MLDBM framework, employing synchronisation through use of the flock function. This use of flock is performed with a temporary lock file which is specified in the Tie::MLDBM framework constructor.The temporary lock file which is used for synchronisation within the Tie::MLDBM framework may be specified by the 'Lockfile' element of the hash reference which is passed in the framework constructor. If this configuration argument is not specified, the file 'Tie-MLDBM-Lock-File.lock' within the current directory is employed.Note that this module does not unlink created temporary lock files as this could interfere with locking and synchronisation of other instances of the Tie::MLDBM framework. Requirements: · Perl


Tie::MLDBM::Lock::File Related Software