I am receiving this error message when I run my script from cron.
Can't locate mskUtil.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/
5.005 .) at /export/home/entDEV/bin/unloadSDB.pl line 35.
BEGIN failed--compilation aborted at /export/home/entDEV/bin/unloadSDB.pl line 3
5.
The module is located in $HOME/lib. Which I have defined in the ENV variable PERLLIB. What else can I be missing?
Example of the code:
#!/usr/bin/perl
$ENV{'PERLLIB'}="$ENV{'HOME'}/lib";
use mskUtil;
exit;
Can't locate mskUtil.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/
5.005 .) at /export/home/entDEV/bin/unloadSDB.pl line 35.
BEGIN failed--compilation aborted at /export/home/entDEV/bin/unloadSDB.pl line 3
5.
The module is located in $HOME/lib. Which I have defined in the ENV variable PERLLIB. What else can I be missing?
Example of the code:
#!/usr/bin/perl
$ENV{'PERLLIB'}="$ENV{'HOME'}/lib";
use mskUtil;
exit;