如何将Perl替换在蜂鸣包中(Microsoft Windows)

最后编辑了

带有蜂窝二进制包的Perl解释器是删除的缺失版本,缺少PERL PPM(“Programmer’s Package Manager”)工具 - 这使得难以安装额外的Perl模块。

To work around this the SQUISHDIR/perl directory can be replaced with a full Perl 5.8.8 installation. After this the SQUISHDIR/perl/bin/PPM tool can be used to install any additional modules.

以下是将Perl解释器中的Perl解释器替换为SQUINT二进制包:

1. Rename Squish’s perl目录

SQUISHDIR/perl

SQUISHDIR/perl.orig

2. Download and unpack “activeperl-5.8.8.820-mswin32-x86-274739.zip.” (or a “compatible”包裹; ActivePerl 5.12.x在我们的测试中没有工作)。

3. 在未包装的ActivePerl文件夹中,执行

Installer.bat

安装人员会问你一些问题。我们建议的答案以粗体显示:

Did you read the LICENSE.txt file? \[no\] *yes*
Do you agree to the ActivePerl Community License v2.1? \[no\] *yes*
Enter top level directory for install? \[C:\Perl\]  *C:\squish-4.1\perl*
Proceed? \[yes\] *_Press Enter_*
Create shortcuts to the HTML documentation? \[yes\] *no*
Add the Perl\site\bin and Perl\bin directories to the PATH? \[yes\] *no*
Proceed? \[yes\] *_Press Enter_*

这是 基本的 至 enter the SQUISHDIR\perl path when asked which top level directory to install to. (In the example above we have assumed C:\squish-4.1, but use whichever path is correct for your machine.)

4. 现在,您可以使用PPM工具安装其他包。

SQUISHDIR/perl/bin/ppm