I'm fairly inexpert in CPAN & friends and not sure about the cause of your exact problem, but I did find out that MyConfig.pm is quite agreeable to hand editing.
Mine was specifying:
'make' => q[C:\\_32\\make\\bin\\make.EXE],
but that was correct only for some of my perls, so I replaced that line with:
'make' => $Config{make},
and inserted use Config; at the beginning of the file.

It's still there in the same state, and working fine - despite that I've installed latest blead a few times since making that alteration.
I don't know what circumstances will cause this MyConfig.pm to be overwritten but I guess I'll find out one day.

So .... don't rule out the possibility of being able to make durable changes by hand to MyConfig.pm, though in your case it sounds like you'll want something like:
if($^O =~ /MSWin32/) { # one list of settings } else { # another list of settings }
That might be a bit tedious to implement if you don't have both lists at hand.
And, as I said, I don't really know much about the shortcomings of that approach.

Cheers,

In reply to Re: MyConfig.pm and CPAN by syphilis
in thread MyConfig.pm and CPAN by slagelwa

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.