2.23.8. Perl

Perl interpreter path: /usr/bin/perl.

It is very important that all Perl script files include installed rights 750, including the paths to these files. If you set the rights incorrectly, when you try to execute the script, you will receive error 500.

Viewing the list of available modules:

cpan -l
If the required module is not in the list, you can leave feedback through the feedback and suggestions form on the site so that the administration considers the possibility of installing it globally.

Checking for an installed module:

perl -Mmodule::name -e 1

In the team instead of module::name you need to substitute the name of the checked module.

If the module not installed, the command will return something like this:

$ perl -MDoes::NotExist -e 1
Can't locate Does/NotExist.pm in @INC (you may need to install the Does::NotExist module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).
BEGIN failed--compilation aborted.
Content