windows 上安装perl手册

简介:

windows上的perl软件有两种:Strawberry Perl和ActivePerl

其中Strawberry Perl是完全开源软件,并且支持cpan,而且还包括perldoc, gcc, dmake等命令,我推荐大家安装Strawberry Perl

1.下载,最好选择strawberry-perl-5.12.2.0-portable.zip

http://strawberryperl.com/releases.html

2.解压后,把目录考到指定目录,注意路径中不要有空格否则出现错误:

 

 
  1. dmake: Error: -- Configuration file "D:\Program Files (x86)\perl\c\startup\startup.mk" not found 

打开README.portable,里面有安装步骤

运行portableshell.bat即可

3.运行

c:\> perl -e "print 'hello world'"

4.cpan安装模块

c:\> cpan Module::Name

5.配置环境变量

  1) 添加c:\myperl\perl\site\bin, c:\myperl\perl\bin,  c:\myperl\c\bin 
     到系统变量PATH里  
  2. 添加变量TERM=dumb

 

 




     本文转自yifangyou 51CTO博客,原文链接:http://blog.51cto.com/yifangyou/608496,如需转载请自行联系原作者

相关文章
|
19天前
|
Linux 虚拟化 Docker
Windows10安装Docker Desktop(大妈看了都会)
Windows10安装Docker Desktop(大妈看了都会)
361 2
|
22天前
|
IDE Java 开发工具
如何在Windows操作系统上安装PyCharm?
【7月更文挑战第5天】如何在Windows操作系统上安装PyCharm?
120 59
|
16天前
|
Windows
【Windows】 Win10下报错:该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在“默认应用设置”页面中创建关联
【Windows】 Win10下报错:该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在“默认应用设置”页面中创建关联
128 1
|
19天前
|
数据采集 数据挖掘 数据处理
Pandas如何安装在Windows系统?
【7月更文挑战第8天】Pandas如何安装在Windows系统?
17 2
|
22天前
|
前端开发 应用服务中间件 nginx
安装Windows版nginx以及部署前端代码并就解决刷新出现404
安装Windows版nginx以及部署前端代码并就解决刷新出现404
36 0
|
22天前
|
NoSQL Redis Windows
redis双击闪退解决方法,windows版的redis资源,redis安装,win资源可下
redis双击闪退解决方法,windows版的redis资源,redis安装,win资源可下
|
23天前
|
NoSQL Redis Windows
windows安装redis
windows安装redis
15 0
|
2月前
|
数据安全/隐私保护 虚拟化 Windows
如何在 VM 虚拟机中安装 Windows Server 2012 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Windows Server 2012 操作系统保姆级教程(附链接)
|
2月前
|
安全 网络安全 虚拟化
VMware中安装Windows Server 2012系统
在VMware中安装Windows Server 2012系统
238 2
|
缓存 JavaScript 前端开发
Windows7压缩包安装node.js 报错提示windows Server 2012 R2 和安装React脚手架 最详细教程
对于Windows 7安装node.js 提示“This application is only supported on wWindows 8.1,windows Server 2012 R2, or higher.”类似这种情况的,该问题是因为node.js官方在 x12版本后就不支持win7系统了。