Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Default Installing additional Perl modules to help with module creation

    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:

    Code:
    /usr/local/cpanel/perl
    So I installed XML::SimpleObject and copied the directory from here:

    Code:
    /usr/lib/perl5/site_perl/5.8.8/XML
    To here:

    Code:
    /usr/local/cpanel/perl
    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.

    How exactly should you add additional Perl modules to cPanel so they can be used?

  2. #2
    cPanel Staff cPanelMatt's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default Re: Installing additional Perl modules to help with module creation

    Well, perl -w isn't going to give you what you need for a variety of reasons.

    I would suggest checking out /usr/local/cpanel/logs/error_log and checking out what it says.

    Looking at the modules and what they do, it appears that it should be fine, but there is always a possibility of a strange compatibility issue.
    Matt Dees
    Integration Developer
    cPanel, Inc.
    cPanel Integration Blog

Similar Threads & Tags
Similar threads

  1. Problem installing perl modules
    By aranes in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 01-08-2012, 05:41 AM
  2. Replies: 1
    Last Post: 08-22-2011, 11:03 AM
  3. Installing Private Perl Modules
    By deadlock in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-05-2007, 08:15 AM
  4. Installing Perl Modules Problems
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-08-2003, 02:26 AM
  5. problem installing perl modules
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-10-2002, 05:00 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube