Does perlbrew work on Windows?

烈酒焚心 提交于 2021-02-07 13:13:10

问题


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


回答1:


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:

  • perlbrew and cygwin
  • Open Issue 31 in Strawberry Perl
  • berrybrew, the perlbrew for Windows.

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.




回答2:


Recently, an alternative appeared:

berrybrew - The Windows Strawberry Perl version manager

It is basically perlbrew for Windows using Strawberry Perl.



来源:https://stackoverflow.com/questions/10391656/does-perlbrew-work-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!