I am planning to upgrade Strawberry Perl on Windows 10 (from 5.24.1 to 5.32.1.1), while preserving existing non-core modules. I found the following notes from a few years ago and am wondering if they are still correct and valid, because I don't want to mess this up.

1. Create autobundle: cpan -a <strong> (this step ran successfully) 2. Install new version of Strawberry Perl. 3. Reload/rebuild modules: perl -MCPAN -e "install Bundle::Snapshot_20 +22_04_29_00"

Questions:

  1. Since "cpan -a" generates its module in: "C:\strawberry\cpan\Bundle\Snapshot_2022_04_29_00.pm", this implies installing the new version of Perl in the existing "C:\strawberry\..." directory. Is this a problem?
  2. The only other option I see is to rename "C:\strawberry" to "C:\strawberryOLD", do a clean install of the new version, copy the generated autobundle module from the old renamed directory to the new "C:\strawberry", then run step 3 above. Is this a problem?

Note: The reason I'm being so cautious is because I have quite a few non-core modules (over 6,500) to preserve between versions.

All comments and suggestions are welcome and appreciated.

"It's not how hard you work, it's how much you get done."


In reply to Upgrading Strawberry Perl While Preserving Non-Core Modules by roho

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.