Pathologically Eclectic Rubbish Lister 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??

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
[download]

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.

Create A New User
Node Status?
node history
Node Type: note [id://1055211]
help
Chatterbox?
 [perldigious]: Snowshoeing time stevieb? I need to buy a pair so I can walk my German Shepherd properly through the country. [stevieb]: yeah, I snowshoe a fair amount in the mountains. I also use spikes similar to these very often as well [stevieb]: LOL you can easily replace "Helsinki" with "Alberta" [perldigious]: I used to live at the top of a very steep hill stevieb, I can relate to the video. Literally used to have to build up momentum and try to force my vehicle to make it up the hill to park in my driveway properly... didn't always make it. [choroba]: Why don't they use tire chains? [perldigious]: First snow, probably not prepared right away choroba. [stevieb]: it's Quebec... they do weird stuff there :) In the mountains, it is *mandatory* for trucks to use tire chains. Many passenger vehicles do as well (but it's not mandatory for them) [perldigious]: That stuff can hit fast... like what we just got where I'm at. Saw a few people who had slid OUT of the roundabout I have to drive through to get to work, not used to the ice yet, take awhile to get the hang of it again and make vehicle adjustments. [stevieb]: man, when the roads are glare ice, I don't even bother going to work or out... unless I absolutely have to, or was already out in the first place

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2016-12-06 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
On a regular basis, I'm most likely to spy upon:

Results (112 votes). Check out past polls.