NAME

Curse::Server - Server Base Class

SYNOPSIS

use base 'Curse::Server';

DESCRIPTION

Curse::Server is a generic server base class.

ATTRIBUTES

handler

my $handler = $server->handler;
$server     = $server->handler(sub {
    my ($self, $tx) = @_;
    return $tx;
});

METHODS

Curse::Server inherits all methods from Nevermore and implements the following new ones.

log

$server->log('Test 123');

run

$server->run;