Skip to end of metadata
Go to start of metadata

If you get the error

  COM-80020009  DISP_E_EXCEPTION [begin] [] [PERL-2   [[perl_parse()  Can't locate strict.pm ... at <script> line 3.
  BEGIN failed--compilation aborted], in ] [SCRIPTSTATE_STARTED], in Remote_module_instance_server::begin], method=call

while starting a Perl API job but the same Perl script runs on the command line then you have a different environment in the JobScheduler.

You have to set the $PERL5LIB environment variable to fix this problem.
Please look at the article How to program the JobScheduler API in Perl to get more information.

Write a comment…