NAME

Hermes::Call - callback interface to Hermes

SYNOPSIS

use Hermes::Call;

my $cb = Hermes::Call->new( '/callback/dir' );

my $result = $cb->run( 'foo' );

CALLBACKS

Each callback must return a CODE that returns a HASH of ARRAY when invoked.

METHODS

run( $name, @cond )

Run callback $name, then select results by @cond, if any. The first value in @cond indicates positive or negative selection. The rest of @cond are keys by which to select.

All values are selected if no @cond is given.