MYDan::Node::Call - callback interface to MYDan::Node
use MYDan::Node::Call; my $cb = MYDan::Node::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' );
Each callback must return a CODE that returns a HASH of ARRAY when invoked.
Run callback ( index of %query ) by condition ( value of %query ). Returns results.
Alias to select().
To install MYDan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MYDan
CPAN shell
perl -MCPAN -e shell install MYDan
For more information on module installation, please visit the detailed CPAN module installation guide.