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.


In reply to Re: Openssl upgrade in Strawberry Perl by stevieb
in thread Openssl upgrade in Strawberry Perl by znasir

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.