Documentation Center

Contenta Perl API

Contenta includes a Perl API.

The Contenta Perl API is intended for Perl scripts that run on:
  • Contenta Explorer client
  • Contenta web server
  • Contenta application/portal server

The Perl API interfaces directly with the Contenta portal socket via TCP/IP, and works with PERL scripts that use PCMAPIMgr.pm, that is scripts using the Perl Web Services API Wrapper or the COM/CORBA API. The PCMAPIMgr.pm module has been written to interface existing Perl scripts with the Perl API. The path of this module is: Contenta_Home/encaps/PerlAPI/PCMAPIMgr.pm.

Existing Perl tools that use the PCMAPIMgr.pm module do not need to be modified because the install/upgrade programs insert the path of the new PCMAPIMgr.pm at the beginning of the PERL5LIB environment variable.

Contenta uses the Perl API to support:
  • the Contenta Perl Adapters
  • all Perl programs delivered with Contenta and Contenta S1000D that previously used the COM/CORBA API
  • most custom Perl programs developed by SDL Professional Services (ProServ) that previously used the COM/CORBA API

Adapters that will not work with the Perl API

FrameBook adapters used by Sun Microsystems will not work with the Contenta Perl API. These include:
  • PcmGetFrameBook.pm
  • PcmGetFrameBookFetch.pm
  • PcmPutFrameBook.pm