|Keep It Simple, Stupid|
Move Perl modules to new CentOS VPSby monx (Novice)
|on Nov 08, 2013 at 19:16 UTC||Need Help??|
monx has asked for the
wisdom of the Perl Monks concerning the following question:
I am tasked with moving the Perl installation to a new CentOS VPS.
I have root access in both servers.
My main worry is that the new machine which will come installed with Perl (version of our choice) will not have the CPAN modules installed in the old server.
I know that executing cpan -a will create files in the ~/.cpan directory which list all the installed modules of the current machine.
However, how do I install all these modules on the new server and also... Certain Perl modules prerequire the existence of certain OS or other installed software libraries. For example, the GD Perl module requires quite a few underlying graphics libraries (e.g. libjpg, libpng etc)
What is the quickest way to pack my old Perl installation and move it to the new server?
Thanks for any responses