Андрей Мищенко > Log-Unrotate > Log::Unrotate::Cursor::File

Download:
Log-Unrotate-1.32.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.32   Source  

NAME ^

Log::Unrotate::Cursor::File - file keeping unrotate position

VERSION ^

version 1.32

SYNOPSIS ^

    use Log::Unrotate::Cursor::File;
    $cursor = Log::Unrotate::Cursor::File->new($file, { lock => "blocking" });

METHODS ^

new($file, $options)
new($file)

Construct a cursor from the file.

$options is an optional hashref.

lock option describes the locking behavior. See Log::Unrotate for details.

rollback_period option defines the target rollback time in seconds. If 0, rollback behaviour will be off.

syntax highlighting: