Introduction
When a cPanel user installs a Perl module that path to that Perl module will not be known by system Perl /usr/bin/perl
Procedure
You have two options for the user's Perl module to be found.
The first option is to use this for the Perl binary interpreter
#!/usr/bin/perlml
and then the second option is to use the following module that utilizes the current user's home path to Perl so those user modules are included. This allows the system Perl binary to remain if needed.
#!/usr/bin/perl
use cPanelUserConfig;
Comments
0 comments
Article is closed for comments.