in reply to How install multiple version of perl

1) it's possible and easy on windows

2) use system 'c:/strawberry-perl-5.30.2.1-32bit-portable/perl/bin/perl.exe', '....foo.pl';

See also Capture::Tiny

http://strawberryperl.com/download/5.30.2.1/strawberry-perl-5.30.2.1-32bit-portable.zip

http://strawberryperl.com/releases.html

http://strawberryperl.com/release-notes/5.30.2.1-32bit.html OpenSSL upgraded to 1.1.1d.

  • Comment on Re: How install multiple version of perl

Replies are listed 'Best First'.
Re^2: How install multiple version of perl
by maria80e (Novice) on Mar 31, 2020 at 09:43 UTC
    I am using active perl. Is it possible for Active perl?
      I didn't try it, but I think it SHOULD be possible to mix an installed ActivePerl with one ore even several Portable editions of Strawberry Perl. You will, however, have to always(!)
      • call each StrawberryPerl using its corresponding portableshell.bat (even the scripts with C:\Path\To\portableshell.bat D:\Path-to\yourscript.pl),
      • same for ActivePerl, perhaps you'd need to setup a Batch (or CMD) file similiar to the portableshell.bat
      And of course, module installations/updates have to be done also for each version independently (for Strawberry, berrybrew might help you with it).
      Of course it is . try it