|P is for Practical|
Re^3: @INC errorby syphilis (Bishop)
|on Jan 17, 2020 at 23:56 UTC||Need Help??|
The program "email-reminder-2.0.pl" appears to run correctly when called independently but not when called by cron.
It therefore seems that a different @INC is being used when cron runs the script.
The error message plainly states that @INC is:
If /usr/local/share/perl5/Mail/Mailer.pm exists, then @INC needs to include /usr/local/share/perl5.
But /usr/local/share/perl5 is not one of the locations specified in @INC when cron runs the script.