Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Get List of installed CPAN modules with timestamp for CPAN modules dependency resolution

by Corion (Patriarch)
on Jul 05, 2021 at 07:30 UTC ( [id://11134657]=note: print w/replies, xml ) Need Help??


in reply to Get List of installed CPAN modules with timestamp for CPAN modules dependency resolution

You can also create a "Bundle" file using the autobundle command of the cpan client to list all modules for later reinstallation:

cpan -a ... Package namespace installed latest in CPAN file + Algorithm::C3 0.10 0.11 HAARG/Algorithm-C3-0.11 +.tar.gz Algorithm::Diff 1.1903 1.201 RJBS/Algorithm-Diff-1.2 +01.tar.gz ... Wrote bundle file /home/corion/.local/share/.cpan/Bundle/Snapshot_2021_07_05_00.pm

The list of modules listed in this bundle can then be installed in another environment using:

perl -MCPAN -e 'install Bundle::Snapshot_2021_07_05_00'

(as the module itself says)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-03-28 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found