在Active Perl中安装旧版本的模块 [英] Installing Older Version of Module in Active Perl

查看:334
本文介绍了在Active Perl中安装旧版本的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Perl中安装Date :: Manip模块.我正在运行Perl版本5.14.2,它似乎无法通过PPM成功安装. (PPM引发401访问所需错误).我猜这里的错误是模块中ppm的Perl版本已过时.由于这是在服务器中,并且每天都有许多其他脚本在运行,因此我无法升级Perl版本.我需要安装Date :: Manip模块的先前版本,但是在ppm中找不到.我该怎么做呢?

I am trying to install the Date::Manip Module in Perl. I am running Perl Version 5.14.2 and it does not seem to be installing successfully through the PPM. (PPM throws a 401 Access required error). I am guessing that the error here is that the Version of Perl is outdated for the module in the ppm. Since this is in the server and there are many other scripts running on a day to day basis, I can not upgrade the Perl version. I need to install the previous version of the Date::Manip module but this is not found in the ppm. How do I go about doing this ?

谢谢!

推荐答案

出现401错误的原因是因为您使用的ActivePerl 5.14已不再被视为社区版.这意味着除非您从ActiveState购买许可证,否则您将无权访问PPM服务器来安装模块.

The reason the 401 error occurs is because you are using ActivePerl 5.14 which is no longer considered as a Community Edition. This means you no longer have access to the PPM server to install modules unless you buy a license from ActiveState.

请参阅此处以供参考 http://community.activestate.com/taxonomy/term/515

您有几种选择:

  • 您可以购买ActiveState Business Edition许可证,该许可证将再次使您能够访问PPM存储库.
  • 如果已安装MinGW和dmake,则可以从CPAN安装此模块.只需在命令行中输入cpan Date::Manip.
  • 升级到最新版本的ActivePerl. (但是,此版本过期后,您将再次遇到相同的问题.)
  • 您可以安装另一个Perl发行版,例如草莓Perl .
  • You could buy an ActiveState Business Edition License which will give your access to the PPM repository again.
  • If you have MinGW and dmake installed, you can install this module from CPAN instead. Just enter cpan Date::Manip in the command-line.
  • Upgrade to the latest version of ActivePerl. (But you'll have the same problem again when this version expires.)
  • You could install another Perl distribution, like Strawberry Perl.

这篇关于在Active Perl中安装旧版本的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆