++ed by:
ADAMJS AERO

2 PAUSE user(s)

刘刊

NAME

Hermes::Call - callback interface to Hermes

SYNOPSIS

 use Hermes::Call;

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

 my $barbaz = $cb->run( foo => [ 1, qw( bar baz ) ] );
 my $notbarbaz = $cb->run( foo => [ 0, qw( bar baz ) ] );
 my $all = $cb->run( 'foo' );

CALLBACKS

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

METHODS

select( %query )

Run callback ( index of %query ) by condition ( value of %query ). Returns results.

run( %query )

Alias to select().