Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Install set of modules in new Perl

by stevieb (Canon)
on Mar 15, 2019 at 23:23 UTC ( [id://1231330]=note: print w/replies, xml ) Need Help??


in reply to Install set of modules in new Perl

Taken from my post here, you can use bundles to gather all CPAN distributions installed, and then re-install them into your new perl installation:

cpan -a ... Wrote bundle file /home/steve/.cpan/Bundle/Snapshot_2018_01_12_00.pm # move the Snapshot pm file to your ".cpan/Bundle" dir # switch to the new perl you want to install the distributions into cpan Bundle::Snapshot_2018_01_12_00.pm

That example is on Linux, but it should be easy enough to follow.

Note that I'm the author of berrybrew, and having the ability to 'clone' installed distributions from one perl instance into another is on my roadmap for this spring.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found