My advice would be to download /home/username/perl5 so that you have a backup, then completely delete /home/username/perl5/lib/perl5/* from the server. Then, create a cpanfile that lists every module that you need and upload that to your project directory, then (because I'm assuming you have local::lib active already) download the cpanm tool and use that to install all your modules listed in the cpanfile.

# locally rsync -avxH mywebhost:perl5 . rsync -av cpanfile mywebhost:my_project_directory/
# on web host ssh mywebhost rm -r ~/perl5/lib/perl5 mkdir ~/perl5/lib/perl5 cd ~/my_project_directory/ curl -L https://cpanmin.us | perl - App::cpanminus cpanm --installdeps .

This is the standard recipe for re-installing the modules that your project needs on a new server. (or on a server where perl has been upgraded across major versions)

If you don't have shell access on the server, just run those lines from "system" in a CGI script, though this is admittedly harder.


In reply to Re: Almalinux throwing Perl_xs_version_bootcheck undefined error by NERDVANA
in thread Almalinux throwing Perl_xs_version_bootcheck undefined error by stingray020

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.