Module::Use::DB_FileLock
use Module::Use (Logger => 'DB_FileLock', File => '/my/file'[, Flags => $flags, Mode => $mode]);
Module::Use::DB_FileLock provides a DB File data store for Module::Use via Tie::DB_FileLock.
Module::Use
Tie::DB_FileLock
The values for the options correspond directly to the same values used with the Tie::DB_FileLock object.
This is the base for the DB filename.
This is a string representing the read-write mode of the DB file. The default value is O_CREAT | O_RDWR. Since these need to be specified before they are defined, Flags are specified as strings: Flags = [qw(O_CREAT O_RDWR)]>.
Flags
Flags =
This is a number representing the filesystem permissions of the DB file. The default is 0660.
0660
Module::Use, Tie::DB_FileLock.
James G. Smith <jgsmith@jamesmith.com>
Copyright (C) 2001 James G. Smith
Released under the same license as Perl itself.
To install Module::Use, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Use
CPAN shell
perl -MCPAN -e shell install Module::Use
For more information on module installation, please visit the detailed CPAN module installation guide.