Skip to main content

adding perl module on cpanel's 5.14 internal perl

Comments

4 comments

  • cPanelKenneth
    Hello, Documentation on this topic is available here: [url=http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/InstallingInternalPerlModules]Internal Perl Modules In short: /scripts/perlinstaller is for adding modules to the OS perl (/usr/bin/perl) /usr/local/cpanel/3rdparty/perl/514/bin/cpan is for installing modules for cPanel & WHM's perl
    0
  • markhard
    thanks for pointing out, i was reading that article but got confused with scripts/perlinstaller
    0
  • markhard
    i managed to install LWP::UserAgent with this command: [QUOTE]/usr/local/cpanel/3rdparty/perl/514/bin/cpan -i LWP::UserAgent
    but i'm still getting errors: [QUOTE]Can't locate object method "new" via package "LWP::UserAgent" at /etc/munin/plugins/nginx_status
    0
  • markhard
    i got it fixed, the script was still calling the system perl instead of cpanel perl
    0

Please sign in to leave a comment.