A Perl program needs its required modules to be available to the interpreter that runs it. You can test whether that interpreter can load a module before investigating an application error.

Test a module

From the same account and environment used by the application, run:

perl -MCompress::Zlib -e 'print "Module loaded\n";'

Replace Compress::Zlib with the module you need. Module names are case-sensitive; for example, use SOAP::Lite, not Soap::Lite.

Read the result

If the module loads, the command prints Module loaded. This confirms it is loadable by that Perl executable, not that every function or application requirement is satisfied.

A Can't locate ... in @INC error means Perl cannot find a required module in its search paths. Other errors may indicate a missing dependency or incompatible installation. The module may be installed for a different Perl version or user environment.

Use the application’s supported installation process to resolve the error. Root access is not required just to test a module available to your account.