G'day Rob,

++ Many thanks. That's pretty much exactly what I was looking for. I followed your instructions and everything worked perfectly.

When I came back to write this, I saw your update. Actually, in my case, removing the 5_030_000 was necessary; although, a simple s/30_000/26_003/ on three lines was all that was required. I also removed the ActivePerl entries from the path. The reason is that if something is not found under 5.26, I want to know about it; instead of a something that I'd previously installed under 5.30 (or 5.16) being silently used — I'm not sure how likely that might be, but now I can be certain it won't happen. I've documented all paths and the changes I've made — probably less than a minute's work to swap to a different version.

So now my PATH looks like this (split up, and a chuck removed from the middle, for ease of viewing):

C:\Users\ken\tmp>echo %PATH% C:\Users\ken\local\opt\strawberry_perl\5_026_003\install\perl\site\bin +; C:\Users\ken\local\opt\strawberry_perl\5_026_003\install\perl\bin; C:\Users\ken\local\opt\strawberry_perl\5_026_003\install\c\bin; ...; C:\Users\ken\local\bin

I get the added benefit of only having to start cmd.exe:

C:\Users\ken\tmp>perl -v This is perl 5, version 26, subversion 3 (v5.26.3) built for MSWin32-x +64-multi-thread ... C:\Users\ken\tmp>perl -E "say for @INC" C:/Users/ken/local/opt/strawberry_perl/5_026_003/install/perl/site/lib C:/Users/ken/local/opt/strawberry_perl/5_026_003/install/perl/vendor/l +ib C:/Users/ken/local/opt/strawberry_perl/5_026_003/install/perl/lib

This is probably not ideal if you want to quickly swap between versions; however, for my current ($work) needs, it's spot on. Thanks again.

— Ken


In reply to Re^2: Strawberry Perl - installing an older version (portable) by kcott
in thread Strawberry Perl - installing an older version by kcott

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.