1

我正在使用 ActiveState Perl 并使用 PPM 安装模块。我通过批处理文件运行 ppm 命令。就像是

ppm rep add Bribes http://www.bribes.org/perl/ppm
ppm rep add UWinnipeg http://theoryx5.uwinnipeg.ca/ppms
ppm rep add Trouchelle http://trouchelle.com/ppm/

ppm install SOAP-Lite

因此,我使用这三个存储库来安装各种模块。 SOAP::Lite模块在所有三个存储库中都可用,但使用贿赂存储库安装它似乎很好。请参考这个链接

http://www.mail-archive.com/perl-win32-users@listserv.activestate.com/msg38184.html

在使用 ppm install 安装 SOAP-Lite 期间,如何指定存储库?我知道我们可以指定 url,但我正在寻找使用存储库名称的东西(Bribes、UWinnipeg、Trouchelle)。如果我们有任何这样的方法,请告诉我。

4

1 回答 1

2

如果您的 PPM 版本 > 3。这些命令将对您有所帮助。

ppm> rep

要获取您列出的存储库列表,活动的存储库将标有前导“*”。然后输入

ppm> rep set X

其中 X 是您要搜索的存储库的编号。

于 2012-07-05T10:13:22.437 回答