加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Perl Module : How to Install Perl Module on Windows

发布时间:2020-12-16 00:28:51 所属栏目:大数据 来源:网络整理
导读:The most simple task to make your tasks simpler is installing a perl module on your machine. There are three common ways by which one can install a perl module on your machine. Lets see the installation on windows machine in this post. The
The most simple task to make your tasks simpler is installing a perl module on your machine.
There are three common ways by which one can install a perl module on your machine. Lets see the installation on windows machine in this post.

There is a ?ppm utility? provided with every active state perl installation,atleast I got it with perl Vesion 5.8.X All you have to do is follow the below steps
1) Click Start
2) Click Run
3) Type cmd and press enter
4) Type ppm and press enter
5) Once you get the ppm utility prompt like ppm> type install modulename
eg. install Net::SSH::Perl
The ppm utility will carry the installation of the perl module for you.
There is workaround for this if you don't have ppm utility or want to install the module manually. Download the zip file from cpan and unzip it with unzip utitliy. Go to the respective directory on command prompt and enter the following commands in sequence.
1) c:&;Net-SSH-Perl> perl Makefil.PL
2) c:&;Net-SSH-Perl> nmake
3) c:&;Net-SSH-Perl> nmake test
4) c:&;Net-SSH-Perl> nmake install

And the module will be installed for you.


Reference:?http://startperl.blogspot.com/2007/11/perl-module-how-to-install-perl-module.html

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读