刘刊 > pantheon-0.58 > Poros::Query

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: