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

I am migrating an existing perl web application and need to install xml-writer and xml-writer-string, I am trying to copy over these modules and am not sure how to get these modules onto the new server, due to security I cannot use ppm to install them will copying the folders from c:\perl\site\lib\auto\xml and also c:\perl\site\lib\xml will that do it?

Replies are listed 'Best First'.
Re: copy perl from one box to another
by ikegami (Patriarch) on Jan 11, 2010 at 17:18 UTC

    If the two machines use the same version of Perl, and both machines are of the same architecture, and you copy the files into same-named path, it should work fine.

    Don't forget to install any external library your modules require.

    You could also download the ppd and install it without going to the internet.

      would the ppd file contain all the information needed for it to install? I see that the ppd are in ppm-config on my source machine.
        IIRC,
        1. View the ppd and download the referenced .tar.gz.
        2. Edit the ppd an change the the url to file:foo.tar.gz (or whatever)
        3. ppm install file:foo.ppd
Re: copy perl from one box to another
by planetscape (Chancellor) on Jan 12, 2010 at 00:38 UTC