Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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/

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)

In reply to Re: Get List of installed CPAN modules with timestamp for CPAN modules dependency resolution by Corion
in thread Get List of installed CPAN modules with timestamp for CPAN modules dependency resolution by programmingzeal

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-10-07 09:52 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (29 votes). Check out past polls.