NAME
MYDan::Agent::Query - MYDan::Agent query
SYNOPSIS
use MYDan::Agent::Query;
my $query = MYDan::Agent::Query->dump( \%query ); ## scalar ready for transport
my $code = MYDan::Agent::Query->load( $query );
print $code->yaml();
my $result = $code->run( code => '/code/dir', run => '/run/dir' );
METHODS
dump( $query )
Returns a scalar dumped from input HASH.
load( $query )
Inverse of dump().
run( %path )
Run code in $path{code}. If code name is postfixed with '.mx', run code in mutual exclusion mode.
yaml()
Return query in YAML.