Windows 下安装和使用 strawberry perl

 

 

strawberry perl是windows下的开源(open source)perl 语言解释器
 (1)下载安装包

 

 

http://strawberryperl.com/
(2)点击安装

 

(3)指定环境变量:

按照readme文件的要求的

在cmd中:

 

  cd <directory>
  perl\bin\perl.exe relocation.pl.bat
  perl\bin\perl.exe update_env.pl.bat

(4)reboot

(5)编写perl脚本

开头加入

 

#! <安装目录>\strawberry\perl\bin\perl

.....

 

.......

保存,在cmd中找到perl文件目录,运行

 

perl *.pl

 

<end>

 

 

 

posted on 2010-12-24 18:07  Homography Matrix  阅读(9880)  评论(0编辑  收藏  举报

导航