in reply to Openssl upgrade in Strawberry Perl
When you cross-post to numerous sites, it's considered polite to inform people of that, so efforts aren't duplicated needlessly.
As far as I know, you can't simply upgrade OpenSSL within a Strawberry installation. Also, Perl 5.10 was released way back in 2007, so it's probably best you upgrade the whole shebang anyways.
berrybrew for Windows offers you a way to both upgrade your Perl (and OpenSSL), while providing you the ability to switch between Perl versions, and even move them around from system to system, copy instances, create template instances that you can restore to at any time, and even revert back to your original Strawberry Perl installation if you need to.
First, take inventory of the Perl modules you have installed:
perl -MCPAN -e 'autobundle;'
...after that runs, you'll end up with a file name as output. Eg: .../Bundle/Snapshot_2016_10_15_00.pm. Copy that file to say your desktop.
Download the berrybrew zip file, and extract it in a directory on your system (but NOT c:\berrybrew, as this is the default location where we store our Perl instances). Then, open a cmd.exe window, and:
cd berrybrew bin\berrybrew.exe config # close the current cmd.exe window, and open a new one berrybrew install 5.24.0_64 berrybrew switch 5.24.0_64 # close cmd.exe, open a new one
Now, you've got the most recent version of Perl usable system-wide, and you've left your Strawberry install in place in case you need it. If you do, just run berrybrew off, and open a new cmd window. The closing/reopening of new cmd windows is required thanks to how Windows handles its environment variables.
Now, reinstall all of your modules into the new version of Perl:
cpan -i file://Desktop/Snapshot_2016_10_15_00.pm
Make a backup of this freshly set up instance of Perl:
berrybrew clone 5.24.0_64 5.24_template
Now you're up-to-date with everything, ready to go.
By the way, berrybrew uses Strawberry Perl portable edition for all of its instances.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Openssl upgrade in Strawberry Perl
by Anonymous Monk on Oct 16, 2016 at 01:21 UTC | |
by stevieb (Canon) on Oct 17, 2016 at 03:29 UTC | |
by Anonymous Monk on Oct 17, 2016 at 11:11 UTC | |
by stevieb (Canon) on Oct 17, 2016 at 12:39 UTC |