Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Move Perl modules to new CentOS VPS

by MidLifeXis (Monsignor)
on Nov 08, 2013 at 19:28 UTC ( #1061744=note: print w/replies, xml ) Need Help??

in reply to Move Perl modules to new CentOS VPS

Do not mess with the OS-installed perl.

Longer answer: Unless trying to make your application installable by all, install a local perl distribution into its own location that your application has been tested with, including all required modules and configurations. This allows you to decouple your application from the OS-required version of perl, minimizes the chance of breaking the OS by touching the OS-required version of perl, and minimize the chance of OS upgrades breaking your application (for the same reason).

(Update) Use the build toolchain. Configure the prerequisites in your Makefile.PL or Build.PL, and use cpanm to build a self-contained library directory of the requirements. You should include everything that your application directly uses in the prerequisites (not just the top level module, and not modules that you don't directly use). You then have a set of steps by which you can target any additional platforms (or CPAN updates, etc). See also:


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061744]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-05-17 15:23 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (157 votes). Check out past polls.