qaqa12345667 发表于 2015-12-25 15:00:36

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>

  
  
页: [1]
查看完整版本: Windows 下安装和使用 strawberry perl