Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: windows environment variable regression

by mpersico (Scribe)
on Sep 23, 2013 at 00:48 UTC ( #1055211=note: print w/replies, xml ) Need Help??


in reply to Re^3: windows environment variable regression
in thread windows environment variable regression

Because I expect to change the Perl version on a regular basis and I don't want to have to parse PATH to do it.
  • Comment on Re^4: windows environment variable regression

Replies are listed 'Best First'.
Re^5: windows environment variable regression
by BrowserUk (Pope) on Sep 23, 2013 at 01:05 UTC
    Because I expect to change the Perl version on a regular basis and I don't want to have to parse PATH to do it.

    Then don't. Just install each new version into the same place -- say X:\perl or wherever -- and then you have no need to change or edit or parse the path.

    Or, if that is too simple, install new builds into versioned directories and then use:

    subst p: X:\path\to\latest\version\of\perl\bin

    And have p:\ in your path.

    There are many ways to achieve what you want; stop trying to use the one that won't.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055211]
help
Chatterbox?
[shmem]: choroba: the correct spelling is corretto
[shmem]: ...for espresso
[LanX]: due coretti, per favore! ;-)
[shmem]: grappa, ginebra o amaretto?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-03-28 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (330 votes). Check out past polls.