windows下Perl安装使用

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               

 欢迎转载,转载请标明出处:http://blog.csdn.net/notbaron/article/details/51100535

1      Perl

Perl,一种功能丰富的计算机程序语言,运行在超过100种计算机平台上,适用广泛,从大型机到便携设备,从快速原型创建到大规模可扩展开发。 

Perl最初的设计者为拉里·沃尔(Larry Wall),于1987年12月18日发表。现在的版本为Perl6,于2015年12月25日更新。

Perl借取了C、sed、awk、shell 脚本语言以及很多其他程序语言的特性,其中最重要的特性是它内部集成了正则表达式的功能,以及巨大的第三方代码库CPAN。简而言之,Perl像C一样强大,像awk、sed等脚本描述语言一样方便,被Perl语言爱好者称之为“一种拥有各种语言功能的梦幻脚本语言”、“Unix 中的王牌工具”。

Perl 一般被称为“实用报表提取语言”(Practical Extraction and ReportLanguage),你也可能看到“perl”,所有的字母都是小写的。一般,“Perl”,有大写的 P,是指语言本身,而“perl”,小写的 p,是指程序运行的解释器

2      下载链接

http://strawberryperl.com/

strawberry-perl-5.22.1.3-64bit.msi

默认安装即可

执行:perl--help

Usage: C:\strawberry\perl\bin\perl.exe[switches] [--] [programfile] [arguments]

 

 -0[octal]         specify recordseparator (\0, if no argument)

 -a                autosplit modewith -n or -p (splits $_ into @F)

 -C[number/list]   enables thelisted Unicode features

 -c                check syntaxonly (runs BEGIN and CHECK blocks)

 -d[:debugger]     run programunder debugger

 -D[number/list]   set debuggingflags (argument is a bit mask or alphabets)

  -eprogram        one line of program(several -e's allowed, omit programfile)

 

  -Eprogram        like -e, but enables alloptional features

 -f                don't do$sitelib/sitecustomize.pl at startup

 -F/pattern/       split() patternfor -a switch (//'s are optional)

 -i[extension]     edit <>files in place (makes backup if extension supplied)

 -Idirectory       specify@INC/#include directory (several -I's allowed)

 -l[octal]         enable lineending processing, specifies line terminator

 -[mM][-]module    execute"use/no module..." before executing program

 -n                assume"while (<>) { ... }" loop around program

 -p                assume loop like-n but print line also, like sed

 -s                enablerudimentary parsing for switches after programfile

 -S                look forprogramfile using PATH environment variable

 -t                enable taintingwarnings

 -T                enable taintingchecks

 -u                dump core after parsing program

 -U                allow unsafeoperations

 -v                print version,patchlevel and license

 -V[:variable]     printconfiguration summary (or a single Config.pm variable)

 

 -w                enable manyuseful warnings

 -W                enable allwarnings

 -x[directory]     ignore textbefore #!perl line (optionally cd to directory)

 -X                disable allwarnings

 

Run 'perldoc perl' for more help with Perl.

 

 

           

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow
这里写图片描述
  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值