BernieC has asked for the wisdom of the Perl Monks concerning the following question:

Strawberry perl has released 5.32. I'm running 5.30 and I have to uninstall my Perl and then install the new one. I must be the dumbest perl hacker on the planet.. I *cannot* remember how to do it. I've web-searched and searched here {only found two: for Activestate and Unix, didn't see a tutorial about it}.

I think it is very easy, but I just can't figure it out. I think it involves running cpan and doing something to generate a .pl file that'll automatically reload all the modules after the new install , but I couldn't figure out the command. I tried "autobundle" but it didn't seem to produce a file that'd reload/rebuild my modules. I feel like a total zero... sigh I hope someone will take pity and remind of how you do an upgrade. Thanks.. I

Replies are listed 'Best First'.
Re: Upgrading Strawberry
by choroba (Cardinal) on Sep 05, 2020 at 23:51 UTC
    cpan -a
    creates the autobundle. See cpan.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      I did that - that's what I thought I should've done, it created "Snapshot_2020_09_05_00.pm". I looked at the file but didn't look at it carefully enough. DUH:

      perl -MCPAN -e 'install Bundle::Snapshot_2020_09_05_00'

      Thanks very much and sorry to have bothered y'all