Perl PPM install one new package

来源:互联网 发布:windows查看显卡 编辑:程序博客网 时间:2024/05/01 23:06
1.
win 下如何用ppm安装perl模块

ppm install ModuleName 回车

2.CPAN study

http://www.cpan.org/scripts/index.html

3. Perl/Tk Modules

https://www.ibm.com/developerworks/cn/aix/library/au-perltkmodule/

 

 

Now i use:

 1、从 www.cpan.org  搜索你所需要的模块,下载下来,一般是gz,或者tgz格式

2、用winRAR之类解压缩软件接压缩

3、进入COMMAN模式,进入到刚才解压缩的文件夹下,含有“Makefile.PL”文件的目录下:

依次运行:

        perl Makefile.PL
        nmake

        nmake test
        nmake install

安装就完成了.

 

 

例子:

a. we can download the nmake from: http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe

b. the ppm package download, such as: Win32-OLE from  http://search.cpan.org/~jdb/Win32-OLE-0.1709/

c. then uncompress the folder and copy the nmake.exe to folder at the same time.

d. now can do:

        perl Makefile.PL
        nmake

        nmake test
        nmake install

原创粉丝点击