In the documentation for creating/writing modules, it says that cPanel does not use system-wide installed modules, and that they should be placed here:
So I installed XML::SimpleObject and copied the directory from here:Code:/usr/local/cpanel/perl
To here:Code:/usr/lib/perl5/site_perl/5.8.8/XML
When I do a perl -w on the file, no errors show up, however, the module that used to work in cPanel (using CP tags since I'm using API2 format) no longer works, unless I remove the use call for XML::SimpleObject.Code:/usr/local/cpanel/perl
How exactly should you add additional Perl modules to cPanel so they can be used?



LinkBack URL
About LinkBacks
Reply With Quote




