Pipeline

Pipeline executes and controls a list of pipeline processes.

Summary
PipelinePipeline executes and controls a list of pipeline processes.
Functions
new
add
processes
executeExecute all pipeline processes until not oktorun.
instrumentation
reset
_d

Functions

new

sub new

add

sub add

processes

sub processes

execute

sub execute

Execute all pipeline processes until not oktorun.  The oktorun arg must be a reference.  The pipeline will run until oktorun is false.  The oktorun ref is passed to every pipeline proc so they can completely terminate pipeline execution.  A proc signals that it wants to restart execution of the pipeline from the first proc by returning undef.  If a proc both sets oktorun to false and returns undef, this sub will return with some info about where the pipeline stopped.

Parameters

%argsArguments passed to each pipeline process.

Required Arguments

oktorunScalar ref that indicates it’s ok to run when true.

Optional Arguments

pipeline_dataHashref passed through all processes.

Returns

Hashref with information about where and why the pipeline terminated.

instrumentation

sub instrumentation

reset

sub reset

_d

sub _d
sub new
sub add
sub processes
sub execute
Execute all pipeline processes until not oktorun.
sub instrumentation
sub reset
sub _d
Close