in reply to Cloning a Perl installation on Windows

If both machines are running the same version of perl, then you should be able to zip up the entire site/lib directory on your desk machine and unzip into the appropriate place on your lab machine. NB: That a pretty definite "should", but I've never done it between machines.

Alternatively (and safer), you can download the zipped PPM packages, copy them to the lab machine, unzip them in a temp directory and install them from there using the syntax:

ppm install c:\tempdir\package.ppd

See the AS docs for more detail.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Cloning a Perl installation on Windows
by rinceWind (Monsignor) on Mar 01, 2006 at 13:30 UTC

    Yup, zipping up the site/lib directory and dropping it in place definitely works, as I used this technique when I had a desktop PC upgrade. The old machine is still there on a different floor of the building.

    Also, some of the modules had been installed by PPM, some by CPAN and others by hand; replicating this would have been a nightmare.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re^2: Cloning a Perl installation on Windows
by herby1620 (Monk) on Mar 01, 2006 at 00:39 UTC
    Well, at first blush, it looks like this solution might work. I did copy the .../site/lib directory over and it gets a little bit further. Now I think I have an incompatibility somewhere else, but the problem is "local in nature". I've got a bad de-reference (access to location zero). Another story.
    Now if this were a 68k Mac, I'd do an SC6 and find out where it was calling from. But that too long ago. (*SIGH*).