Vyacheslav Matyukhin > Log-Unrotate-1.27 > Log::Unrotate::Cursor

Download:
Log-Unrotate-1.27.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.27   Source   Latest Release: Log-Unrotate-1.32

NAME ^

Log::Unrotate::Cursor - abstract unrotate cursor

VERSION ^

version 1.27

DECRIPTION ^

Log::Unrotate keeps its position in persistent objects called cursors.

See Log::Unrotate::Cursor::File for default cursor implementation.

METHODS ^

read()

Get hashref with position data.

Data usually contains Position, Inode, LastLine and LogFile keys.

commit($position)

Save new position into cursor.

clean()

Clean all data from cursor.

AUTHOR ^

Vyacheslav Matjukhin <mmcleric@yandex-team.ru>

syntax highlighting: