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