如何使用运行perl程序

来源:互联网 发布:如何扫描二维数据 编辑:程序博客网 时间:2024/06/05 15:10

1.使用notepad 编辑perl 程序。将其save成perlname.pl 的格式文件。要save到Perl/bin下面。

2.打开CMD,然后指定到Perl/bin;

3.运行命令perl perlname.pl


Perl模块安装方法:http://blog.sina.com.cn/s/blog_637e04c90100ni8d.html

1,安装ActivePerl
     1.1到Perl/bin下面,cmd运行ppm repo suggest(给出建议添加的网站),如图
       
     1.2运行ppm repo add http://log4perl.sourceforge.net/ppm
       



0 0
原创粉丝点击