NAME
Build::Hopen::G::Op - a hopen operation
SYNOPSIS
An Op
represents one step in the build process. Op
s exist to provide a place for edges (Build::Hopen::G::Edge) to connect to.
FUNCTIONS
run
Run the operation, whatever that means. Usage:
my $hrOutputs = $op->run([$hrInputs])
$hrOutputs
is guaranteed to be a new hash, not the same hash as $hrInputs
.
describe
Return a hashref of {in => (the inputs), out => (the outputs)
. Should be implemented in subclasses. The implementation here returns true
for the inputs, signifying that this op will accept anything. It returns false
for the outputs, signifying that this op has no outputs.