error "Can't locate Cpanel/Version.pm in"
Hello,
i have a bash script that calls a perl file.
i get the error below
The file install.pl
Can't locate Cpanel/Version.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux
/usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at ./install.pl line 3.
BEGIN failed--compilation aborted at ./install.pl line 3.
The file install.pl
#!/usr/local/cpanel/3rdparty/bin/perl
use Cpanel::Version ();
-
Hello :) Please ensure you review the following document regarding the Perl environments on cPanel: Perl Environments and Modules Thank you. 0 -
Hello Michael, i am sorry i am starting new with both perl and whm plugin development. i read through the link you sent but still am stuck. i have whm version WHM 11.42.1 (build 13), am i pointing to the wrong perl in my file? i did change it to /usr/bin/perl but it didn't work either. i am developing a WHM Plugin. Appreciate your support. 0 -
Dear Michael, i managed to get it solved through the link you sent. Many Thanks 0 -
Hello, Glad to hear it. Thank you for updating this thread. 0
Please sign in to leave a comment.
Comments
4 comments