I have multiple Strawberry Perls on Windows 7 x64. I installed the first one and then I just grab the ZIP files for the others and unzip them. I moved them all to a "\Program Files\Strawberry\" directory.
Then, I use a batch file to manage the different versions by creating a link from "C:\strawberry" to the version I want to use. This way, I never have to change my %PATH% and everything just works. It's my version of perlbrew for Windows.
See Re: Strawberry Perl, from 5.18 to 5.22
Example in action:
VinsWorldcom@C:\Users\VinsWorldcom> dir c:\straw* Directory of c:\ 08/06/2015 11:41 PM <JUNCTION> strawberry [C:\Program Files\st +rawberry\strawberry_5.18.1-MSWin32-x64-multi-thread] VinsWorldcom@C:\Users\VinsWorldcom> dir "c:\Program Files\strawberry" Directory of c:\Program Files\strawberry 12/20/2013 11:52 AM <DIR> strawberry_5.18.1-MSWin32-x64-m +ulti-thread 06/13/2014 08:20 PM <DIR> strawberry_5.18.1-MSWin32-x86-m +ulti-thread-64int 10/26/2012 12:14 PM <DIR> strawberry_5.8.8-MSWin32-x86-mu +lti-thread VinsWorldcom@C:\Users\VinsWorldcom> plroot.bat C:\strawberry [C:\Program Files\strawberry\strawberry_5.18.1-MSWin32-x +64-multi-thread] C:\Users\VinsWorldcom\perl [C:\Users\VinsWorldcom\perl5\5.18.1-MSWin32 +-x64-multi-thread] 5.018001 @ C:\strawberry\perl\bin\perl.exe Available: 5.18.1-MSWin32-x64-multi-thread 5.18.1-MSWin32-x86-multi-thread-64int 5.8.8-MSWin32-x86-multi-thread VinsWorldcom@C:\Users\VinsWorldcom> plroot.bat 5.8.8-MSWin32-x86-multi +-thread Junction created for C:\strawberry <<===>> C:\Program Files\strawberry +\strawberry_5.8.8-MSWin32-x86-multi-thread Junction created for C:\Users\VinsWorldcom\perl <<===>> C:\Users\VinsW +orldcom\perl5\5.8.8-MSWin32-x86-multi-thread 5.008008 @ C:\strawberry\perl\bin\perl.exe VinsWorldcom@C:\Users\VinsWorldcom> perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread [...] VinsWorldcom@C:\Users\VinsWorldcom> plroot.bat 5.18.1-MSWin32-x64-mult +i-thread Junction created for C:\strawberry <<===>> C:\Program Files\strawberry +\strawberry_5.18.1-MSWin32-x64-multi-thread Junction created for C:\Users\VinsWorldcom\perl <<===>> C:\Users\VinsW +orldcom\perl5\5.18.1-MSWin32-x64-multi-thread 5.018001 @ C:\strawberry\perl\bin\perl.exe VinsWorldcom@C:\Users\VinsWorldcom> perl -v This is perl 5, version 18, subversion 1 (v5.18.1) built for MSWin32-x +64-multi-thread [...]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiple strawberry Perl distribution organization problems and the hunt for Win32::SerialPort installation that works
by Discipulus (Canon) on Aug 07, 2015 at 07:11 UTC |