Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Core Modules & cPanel System Modules

by tel2 (Pilgrim)
on May 11, 2016 at 12:27 UTC ( [id://1162750]=perlquestion: print w/replies, xml ) Need Help??

tel2 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

My webhosting account (which uses cPanel for its control panel) has just been moved to newer hardware.  As a result, it's gone from Perl 5.10 to 5.16.  Unfortunately, my website broke as a result of the migration, and this is partly because the old server had a lot more "system modules" (cPanel terminology, I think, which are presumably "core modules") than there are now.

Yes, I know that I can install modules myself (and cPanel makes that easy), but I'm wondering:

Q1. Any ideas why this new server (running Perl 5.16) would have only 23 system modules installed, while the old one (running Perl 5.10) had probably over 100?

Q2. Does cPanel usually have all of Perl's available core modules installed as system modules?

Thanks.
Tel2

Replies are listed 'Best First'.
Re: Core Modules & cPanel System Modules
by stevieb (Canon) on May 11, 2016 at 13:27 UTC

    corelist at v5.10.0:

    corelist -v 5.10.0 | wc -l 541

    ...and v5.16.0:

    corelist -v 5.16.0 | wc -l 688

    So I'd say that cPanel doesn't include everything that is bundled in the perl's core.

    update: One way to make things easier on yourself is by using the Devel::Dependencies module to find the dependencies (recursively) for your application, and install them on your current version of perl automatically:

    perl -MDevel::Dependencies /path/to/Module.pm | cpanm
      Good answer, Steve.

      Thanks for all that!

      Tel2

        Most welcome.

        Please let us know how it goes. It'd be nice to get feedback from a cPanel user, as we usually don't hear back after there's been advice given.

        I've been writing my own modules lately that rely deeply on knowing about both dependencies and reverse dependencies, so if you have any further questions or issues, you know what to do (it may press me to dig deeper for my own purposes ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1162750]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-24 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found