in reply to Core Modules & cPanel System Modules

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

Replies are listed 'Best First'.
Re^2: Core Modules & cPanel System Modules
by tel2 (Pilgrim) on May 11, 2016 at 22:56 UTC
    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 ;)

        Thanks for the offer, Steve.

        Currently I'm just trying to get the webhost to install some of those core modules as System Modules.  They've done a couple but there are more that I have in my code.  

        A few more issues are:

        1. Have you ever seen the problem with cPanel where you install a module (using cPanel), but then it doesn't appear in the list of modules that cPanel shows as being installed under your account?  This is what's happening, and I saw the same thing years ago with a previous migration.  One implication is that I can't uninstall such modules via cPanel, because I can't see them in cPanel.

        2. The modules I've tried installing under my account after the migration are not being picked up by my code.  I usually use this line to update @INC so it can find modules I've installed:
            use lib '/home/myusername/perl5/lib/perl5';
        but it looks as if I now have to add another line:
            use lib '/home/myusername/perl/usr/share/perl5'
        It's getting messy.  Is this what people usually have to do (i.e. multiple 'use lib' lines)?  Any suggestions?  Would uninstalling and reinstalling the modules I installed before the migration help (i.e. would they all be installed in the same location)?

        3. I also note that some modules (e.g. LWP) are installed in the system areas (i.e. not under my account), but are NOT displaying when I click "Show System Modules" in cPanel.  Have you seen that before?  Any ideas how this happens?

        Thanks again.