Each Perl manipulator that Forge runs as part of your pipeline is
an instance of the
EDF::Manipulator
class.
The
EDF::Manipulator
class varies from other classes in
the EDF namespace because you, the pipeline developer, write the body of the
overrideable methods for an
EDF::Manipulator
. The overrideable methods are
prepare
,
get_records
,
next_records
, and
finish
.
Note
For convenience, the local variable
$this
is already initialized to reference the
EDF::Manipulator
instance when your code is
evaluated. This initialization is approximately equivalent to the code:
package EDF::Manipulator; sub next_record($) { my $this = shift; # Your code goes here }