A Perl manipulator component uses Perl to efficiently manipulate
source records as part of Forge's data processing.
You can provide individual Perl methods to the Perl manipulator in
either of the following ways:
- Write the code in the Perl Manipulator editor. This approach is
useful for simpler data manipulation and cases where you want to
keep the Perl code in the Developer Studio project.
- Specify the code in a Perl file (.pl) external to your project, and
identify the file's URL in the Perl Manipulator editor. This
approach is useful if you want to maintain the Perl code outside
the Developer Studio project, reuse the code by calling the file
from more than one pipeline, or if you simply prefer to work in an
external editor.
Alternatively, if you want to write an entire Perl manipulator, you
can specify the code in a Perl class external to your project, and
identify the file in the 'Use this Perl class' setting in the Perl
Manipulator editor. This approach is useful in cases where the
amount of Perl code is large or complex.
Note: - Perl manipulator names cannot contain spaces.
- Detailed information about the syntax used by the Perl manipulator,
including examples, can be found in the
Forge API Guide for Perl .