本文介绍了perlbrew 在 Windows 上工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Windows XP 上使用 ActiveState 5.8.8,我想安装更新的用于测试/迁移的 Perl.

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.

如果我做了坏事,我可以轻松地返回到基本安装或恢复到快照.我有几个 Windows VM 仅用于此用途(并且它们在我的新 Mac 上作为 VM 运行得比我旧的 300 美元 HP 塔式机运行得更快).

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).

这不仅仅是对 ActivePerl 的建议.如果开发人员无法获得或不想要大量硬件,则他们应该拥有大量 VM.您将 VM 设置为测试机器,而不是将您的个人"机器(包括您的所有个性化、音乐等)用作测试机器.

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.

至于字面问题:我不在 Windows 上使用 perlbrew,但很容易找到这些:

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.

请注意,您需要一个编译器工具链来将 perl 源代码转换为可执行文件,因为 perlbrew 假定您拥有所有 unixy 东西.

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.

这篇关于perlbrew 在 Windows 上工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 16:48