Jozef Kutej > Data-Keys-0.02 > Data::Keys::E::Dir::Lock

Download:
Data-Keys-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Data::Keys::E::Dir::Lock - uses additional folder to lock files

DESCRIPTION ^

Places file locks in a different folder.

PROPERTIES ^

lock_dir

A folder where to place locks. Default is $self->base_dir / .lock.

METHODS ^

after 'init'

Will create lock folder if not present.

lock_sh

Same as "lock_ex".

lock_ex

Creates a locking file in $self->lock_dir in an exclusive way.

unlock

Release a lock.

AUTHOR ^

Jozef Kutej

syntax highlighting: