Log::Unrotate::Cursor::Null - dummy cursor


Log-Unrotate documentation Contained in the Log-Unrotate distribution.

Index


Code Index:

NAME

Top

Log::Unrotate::Cursor::Null - dummy cursor

VERSION

Top

version 1.25

DESCRIPTION

Top

This is a dummy cursor, commits to it go nowhere.

METHODS

Top

new()

Create null cursor.


Log-Unrotate documentation Contained in the Log-Unrotate distribution.
package Log::Unrotate::Cursor::Null;
BEGIN {
  $Log::Unrotate::Cursor::Null::VERSION = '1.25';
}

use strict;
use warnings;

use base qw(Log::Unrotate::Cursor);

use overload '""' => sub { 'Null' };

sub new {
    return bless {} => shift;
}

sub read { return }
sub commit { return }
sub clean { return }

1;