Installing Older Version of Module in Active Perl

你。 提交于 2019-12-02 16:13:29

问题


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 ?

Thanks !


回答1:


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.

See here for reference http://community.activestate.com/taxonomy/term/515

You have several options:

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



回答2:


Try to use the below link and download then install.

https://metacpan.org/pod/Date::Manip



来源:https://stackoverflow.com/questions/19993799/installing-older-version-of-module-in-active-perl

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