The directory indicated by cpan config item keep_source_where (~/.cpan/sources) contains every distribution I've ever attempted to install, going back years. That catch is that it's not specific to a Perl install.

But if one were to set keep_source_where differently when installing for a specifc install of Perl, one could not just track the name of the distros but have the actual distros (by author) that was installed for that install of Perl. Perfect :)

perl -MCPAN -MCPAN::HandleConfig -e' CPAN::HandleConfig::require_myconfig_or_config(); $CPAN::Config->{keep_source_where} = "/tmp/sources/"; shell; ' CGI

created

/tmp/sources/ /tmp/sources/authors/ /tmp/sources/authors/id/ /tmp/sources/authors/id/F/ /tmp/sources/authors/id/F/FL/ /tmp/sources/authors/id/F/FL/FLORA/ /tmp/sources/authors/id/F/FL/FLORA/CHECKSUMS /tmp/sources/authors/id/F/FL/FLORA/FCGI-0.71.tar.gz /tmp/sources/authors/id/M/ /tmp/sources/authors/id/M/MA/ /tmp/sources/authors/id/M/MA/MARKSTOS/ /tmp/sources/authors/id/M/MA/MARKSTOS/CGI.pm-3.52.tar.gz /tmp/sources/authors/id/M/MA/MARKSTOS/CHECKSUMS

Note that FCGI is a prereq of CGI.


In reply to Re: What modules got installed? (keep_source_where) by ikegami
in thread What modules got installed? by ikegami

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.