NAME

Poros::Query - Poros query

SYNOPSIS

use Poros::Query;

my $query = Poros::Query->dump( \%query ); ## scalar ready for transport

my $code = Poros::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.