in reply to Strawberry Perl - installing an older version

I don't tell that my way is the most right and reliable, but it works and covers all my requirements. I have installed three portable versions:
C:\somewhere\on\my\pc\strawberry-perl-5.8.8.3 C:\somewhere\on\my\pc\strawberry-perl-5.16.2.1-32bit C:\somewhere\on\my\pc\strawberry-perl-5.30.0.1-32bit
I have the soft link C:\somewhere\on\my\pc\Perl pointing on one of these directories. It is created with mklink /d or mklink /j and declared in %PATH% variable. So every time I have full access to one of the Perl instances. If I need to switch to another instance (version), I remove the previous link and create another one pointing to another instance.

Replies are listed 'Best First'.
Re^2: Strawberry Perl - installing an older version (mklink)
by kcott (Archbishop) on Mar 10, 2020 at 14:07 UTC

    G'day siberia-man,

    Thanks for your response.

    I don't envisage needing to do a lot of swapping between versions; in fact, it may not be necessary at all. However, if my use case changes, changing a symlink would be less work than changing the PATH environment variable.

    It would require some initial setup. Unlike you, with three portable SP versions, I currently have: a portable SP version, a non-portable SP version, and an ActivePerl version. I'd probably need to set up some *.bat files for this, but that would be a one-off task.

    Thanks for your suggestion. I'll keep it in mind.

    — Ken