Hi Noah,

On Mar 12, 2009, at 8:39 PM, Noah wrote:
I've just installed perl5.8 from macports. is there any way to quickly migrate all the modules installed as part of my apple perl installation?
I've never used MacPorts before, but this thread on PerlMonks might be helpful on the subject of moving modules about:
        http://www.perlmonks.org/?node_id=726170

Since it's on the same machine and - I think? - the same version of Perl, you might be able to copy your Perl libraries from your old Perl to your new Perl - but this might not work for all modules, such as those which have been compiled for a specific version of Perl. If you want to try that, you can find out where each Perl is keeping its libraries by running 'perl -V', and looking at the folders under '@INC'. If you don't want to risk it, CPAN autobundling will take longer (as each module will have to be downloaded and installed) but is much likelier not to break anything, and would still be reasonably fast unless you've got a lot of modules to move.

Hope that helps!

cheers,
Gaurav

Reply via email to