Perl

Schedule Perl scripts with crontab:

https://www.perl.com/article/43/2013/10/11/How-to-schedule-Perl-scripts-using-cron/

If using a text file to load the crontab, BE SURE to use UNIX-style line endings.

------------------------------------

Load modules in same directory:

use File::Basename;
use lib dirname (__FILE__);
use LibreUtils;

or relative directory:

use File::Basename;
use lib dirname (__FILE__) . "/MyModules";

------------------------------------

which perl

perl -v

perl -V

echo $PATH

.............

View everything in the @INC path:

perl -e 'print join "\n", @INC'

print "<div>&nbsp;</div>\n";
print "&#64;INC Paths<br />\n";
print join("<br />\n", @INC);
print "<div>&nbsp;</div>\n";
 
.............

A complete list of installed modules in @INC directories:
perl -MFile::Find -E'find sub { say $File::Find::name if -f and /\.pm$/ }, @INC'

--- When you install a Perl module from CPAN, it installs it in the module library associated with the Perl installation that you are currently using.