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

Hello,

I'm moving a website, which uses perl, to a new host/shared server. Will I need to reinstall each module on that server or is it enough to just move the home/username/perl/... and home/username/perl5/... folders to the new host?

Replies are listed 'Best First'.
Re: Modules -- changing servers
by chromatic (Archbishop) on Jul 22, 2011 at 01:34 UTC

    If both servers run the same OS, have the same system libraries installed, run on the same architecture, and have the same version of Perl 5, moving directories might (should?) work.

    I usually reinstall modules though.

      Thank you!
Re: Modules -- changing servers
by ChuckularOne (Prior) on Jul 22, 2011 at 13:08 UTC

    I agree. I have always reinstalled, just to be sure everything is compatible (in the production environment).

    Though, now that I think about it, at home I usually just copy, test and reinstall anything that doesn't seem to work.

    I guess it depends on your environment and the criticality of stability.