質問

Using ActiveState 5.8.8 on Windows XP, I would like to install a more recent Perl for testing/migration.

役に立ちましたか?

解決

Someday, we'll be out of the days when we thought we were limited to only one computer. When I want to test this sort of stuff, I make virtual machines. I keep a clean, base installation around, make copies of that stuff, configure them in multiple ways, and blow them up however I like.

If I do something bad, I can either go back to the base installation easily or revert to a snapshot. I have several Windows VMs for just this use (and that they run faster as VMs on my newish Mac versus my old $300 HP tower).

This isn't just advice for ActivePerl. Developers should have lots of VMs if they can't get or don't want lots of hardware. You set up the VMs as test machines instead of using your "personal" machine (with all of your personalizations, music, whatever) as a test machine.

As for the literal question: I don't use perlbrew on Windows, but it was easy to find these:

Note that you'll need a compiler toolchain to turn the perl source code into the executable since perlbrew assumes you have all of the unixy things.

他のヒント

Recently, an alternative appeared:

berrybrew - The Windows Strawberry Perl version manager

It is basically perlbrew for Windows using Strawberry Perl.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top