Using an external Perl file

Use the method body of an external Perl file to override methods in a Perl Manipulator.

You must create a Perl manipulator. See "Adding a Perl manipulator" for details on this procedure.

To use an external Perl file to override a method:

  1. In the Perl Manipulator editor's General tab, select Override These Methods.
  2. Check at least one of the methods. The Method Override editor appears.
  3. Select Use Method Body in File.
  4. Type the URL to the Perl file. Example of using an external Perl file.
  5. In the Encoding text box, type the encoding of the input data.
  6. (Optional) If the Perl file being accessed is compressed, check Compressed.
    Note: This instructs Forge to decompress the file before processing.
  7. Click OK to return to the Perl Manipulator editor.
Note: Detailed Perl manipulator information can be found in the Forge API Guide for Perl, which is available from Help menu in Developer Studio. The Forge API Guide for Perl provides descriptions for the classes and methods you can incorporate in a Perl manipulator. It also provides sample code for the most common Perl manipulator tasks.