Data::Hopen::G::CollectOp - a passthrough operation
An CollectOp is a concrete Data::Hopen::G::Op that passes its inputs, or other values drawn from its scope, to its outputs unchanged. For example, CollectOp instances are used by Data::Hopen::G::DAG to represent goals.
CollectOp
Which levels of Data::Hopen::Scope to pull from, as defined by "$levels" in Data::Hopen::Scope. Default is 'local', i.e., to and including the first Scope encountered that has local set.
'local'
Copy the inputs to the outputs. Usage:
my $hrOutputs = $op->run([-context=>$scope])
The output is {} if no inputs are provided. See "passthrough" in Data::Hopen::G::Runnable for more details.
{}
Constructor
To install Data::Hopen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Hopen
CPAN shell
perl -MCPAN -e shell install Data::Hopen
For more information on module installation, please visit the detailed CPAN module installation guide.