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


Log-Unrotate documentation  | view source Contained in the Log-Unrotate distribution.

Index


NAME

Top

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

VERSION

Top

version 1.25

SYNOPSIS

Top

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

METHODS

Top

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

Construct cursor from file.

$options is an optional hashref. Only one option lock is supported, describing locking behaviour. See Log::Unrotate for details.


Log-Unrotate documentation  | view source Contained in the Log-Unrotate distribution.