Hello perMonks and perlNuns.

As my Subject indicates, I am thinking ahead to when the cygwin project upgrades Perl to 5.42. What I am asking isn't about the Perl language but rather about systems administration. I got badly burned by doing something ignorant awhile back, as discussed weeks ago in Nooo!... Have I trashed my Strawberry?.

When I update using cygwin setup.exe, I think I remember that the core language modules will not update, but rather are updated as a separate package from cygwin.com (is this right?). And what about the vendor modules? But mostly, what about the modules in site_perl locations, modules I've built and installed myself? I think one answer will be to autobundle using cpan, but there are other possible solutions. Any advice would be welcomed.

CygwinPerl on my system:

$ /usr/bin/perl -le 'print $^V'
v5.40.3

My @INC looks like this:
$ perl -le 'print for @INC'
/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads
/usr/local/share/perl5/site_perl/5.40
/usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads
/usr/share/perl5/vendor_perl/5.40
/usr/lib/perl5/5.40/x86_64-cygwin-threads
/usr/share/perl5/5.40

So when one autobundles, are modules selected from all dirs in @INC or only from the site_perl dirs, which are in my case (and presumably in all CygwinPerl users cases):

/usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads
/usr/local/share/perl5/site_perl/5.40

Or does autobundle select everything, including core modules and vendor modules? If it does, I want a better solution.

Answers I got to that posting about trashing StrawberryPerl included this notable one: Re: Nooo!... Have I trashed my Strawberry?. I am going to look into the recommended UrBackup while I am awaiting advice here.

Oct 06, 2025 at 17:34 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)


In reply to CygPerl question: what to expect from update when Cygwin releases 5.42 by Intrepid

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.