I took the copy of the production module to the home directory and executing the module.
one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the below syntax is correct.
while executing I am getting the error as below any idea plz
---------- Post updated at 07:45 AM ---------- Previous update was at 07:37 AM ----------
In production code. the syntax is mentioned as below.. it picks it from the perl module
/opt/acc_perl/lib/5.14.2. Whereas when I placed the module in the home directory the module is not getting picked up.
---------- Post updated at 09:04 AM ---------- Previous update was at 07:45 AM ----------
the issue is fixed now.
one of the test prdmsk.pm module is present in the home directory ctskk. would like to know whether the below syntax is correct.
Code:
use strict;
use lib "/home/ssprod/ctskk";
use lib::Prdmsk;
Code:
Can't locate lib/Prdmsk.pm in @INC (@INC contains: /home/ssprod/ctskk /opt/acc_perl/lib/site_perl/5.14.2/PA-RISC2.0 /opt/acc_perl/lib/site_perl/5.14.2 /opt/acc_perl/lib/5.14.2/PA-RISC2.0 /opt/acc_perl/lib/5.14.2 .) at program.pl line 27
BEGIN failed--compilation aborted at program.pl line 2
In production code. the syntax is mentioned as below.. it picks it from the perl module
/opt/acc_perl/lib/5.14.2. Whereas when I placed the module in the home directory the module is not getting picked up.
Code:
use strict;
use ssprod::Prdmsk;
the issue is fixed now.