I have a bunch of Perl scripts that all work fine, but should have use Plibdata;at the top.
I installed a cron job that runs (I get a confirmation email from root) and it returns the following error message:
Can't locate Plibdata.pm in @INC (@INC contains: /install/lib /opt/perl58/lib/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl58/lib/5.8.8 /opt/perl58/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi /opt/perl58/lib/site_perl/5.8.8 /opt/perl58/lib/site_perl .) at ./x line 5.
BEGIN failed
Line 5 is ... you guessed it ... use Plibdata;
I am also trying to set up the environment as such:
use lib "$ENV{CARSPATH}/install/lib";
maybe if I found the location of these plibdata, could I direct it this way?
My cron commands will be executed with help /usr/bin/sh, says crontabs ...
Any suggestions?
This script works from the command line.
source
share