James G Smith > Module-Use > Module::Use::DB_FileLock

Download:
Module-Use-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source   Latest Release: Module-Use-0.05_01

NAME ^

Module::Use::DB_FileLock

SYNOPSIS ^

use Module::Use (Logger => 'DB_FileLock', File => '/my/file'[, Flags => $flags, Mode => $mode]);

DESCRIPTION ^

Module::Use::DB_FileLock provides a DB File data store for Module::Use via Tie::DB_FileLock.

OPTIONS ^

The values for the options correspond directly to the same values used with the Tie::DB_FileLock object.

File

This is the base for the DB filename.

Flags

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)]>.

Mode

This is a number representing the filesystem permissions of the DB file. The default is 0660.

SEE ALSO ^

Module::Use, Tie::DB_FileLock.

AUTHOR ^

James G. Smith <jgsmith@jamesmith.com>

COPYRIGHT ^

Copyright (C) 2001 James G. Smith

Released under the same license as Perl itself.

syntax highlighting: