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 <jsmith@cpan.org>

COPYRIGHT

Copyright (C) 2002 Texas A&M University. All Rights Reserved.

Released under the same license as Perl itself.