Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Strawberry Perl - installing an older version

by siberia-man (Friar)
on Mar 10, 2020 at 13:35 UTC ( [id://11114070]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found