Each time I install a new perl5 release for testing, I pull in a couple of additional modules, tasks and bundles to feel at home. Bundle::CPANxxl and Test::Reporter::Transport::Metabase are among these.

I use the CPAN module and have a couple of special rules in my distroprefs directory (o conf prefs_dir). Distroprefs can apply local patches, fine-tune the build environment and prevent installations from turning interactive.

Although my CPAN configuration in ~/.cpan/CPAN/MyConfig.pm is shared among all perl instances, newly installed perls seem to ignore my distroprefs, however. Only after the Bundle::CPANxxl modules are installed, distroprefs seem to be effective. I have observed this with new builds of perl-5.26.0 on Debian GNU/Linux 8.

Now here is my question: If indeed a missing module prevents CPAN.pm from using its distroprefs, what is a minimal set of non-core modules that need to be installed in order for distroprefs to be working? I would like to reduce the risk of bootstrapping headaches by installing those first.


In reply to Prerequisites for CPAN.pm distroprefs by martin

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.