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
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
本文介绍了在Windows机器上安装Perl模块的三种常见方式:使用ppm实用工具、下载cpan zip文件并手动安装,以及如何在没有ppm的情况下通过命令行安装。详细步骤包括启动、运行cmd、输入ppm命令等。
2618

被折叠的 条评论
为什么被折叠?



