| Log-Unrotate documentation | Contained in the Log-Unrotate distribution. |
Log::Unrotate::Cursor - abstract unrotate cursor
version 1.25
Log::Unrotate keeps its position in persistent objects called cursors.
See Log::Unrotate::Cursor::File for default cursor implementation.
Get hashref with position data.
Data usually contains Position, Inode, LastLine and LogFile keys.
Save new position into cursor.
Clean all data from cursor.
Vyacheslav Matjukhin <mmcleric@yandex-team.ru>
| Log-Unrotate documentation | Contained in the Log-Unrotate distribution. |
package Log::Unrotate::Cursor; BEGIN { $Log::Unrotate::Cursor::VERSION = '1.25'; } use strict; use warnings;
sub read($) { die 'not implemented'; }
sub commit($$) { die 'not implemented'; }
sub clean($) { die 'not implemented'; }
1;