| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> perl >> Perl wu nian lai di yi ci fa bu xin ban ben

Perl wu nian lai di yi ci fa bu xin ban ben

2008-05-21 09:49:01 编辑來源:互联网 评论
 
 
 
本文为【Perl五年来第一次发布新版本】的拼音翻译版
  guo ji xiao xi Perl bian cheng yu yan yu dang di shi jian sheng dan jie qi jian fa bu le xin ban ben Perl 5.10, zhe ye shi cong 2002 nian zhi jin zhe men “ guang wei liu chuan de dong tai yu yan ” de di yi ci 。Perl 5.10 tian jia le xin de yu yan te xing he xin gai jin de Perl jie shi qi 。
  Perl shi you Larry Wall chuang zao de yi men dong tai cheng xu yu yan , shou ci fa bu yu 1987 nian 。 zai 20 nian de li shi li ,Perl jie yong le duo zhong yu yan ru C ,shell(sh), AWK, sed yi ji Lisp de te xing 。Perl yi jing cheng wei ji hu suo you Unix xi tong de biao zhun pei zhi zhi yi , bing ke yi zai xu duo de cao zuo xi tong shang yun xing , bao kuo Windows,Mac OS X,Solaris,z/OS,os400,QNX yi ji Symbian。
  Perl de yu fa ling huo xing you shi shi ta bian de nan yi yue du , er xiang Python you yu gu ding de yu fa jie gou zai zhe xie nian yi jing sheng guo le Perl。 er qie Web kai fa de jiao ben yu yan bi ru PHP、Ruby deng ye yi jing kai shi jian jian qu dai le Perl yi du yong you de you shi 。20 nian lai Perl de jing kuang mei kuang yu xia , dao jin tian yi ru can zhu 。
  xin te xing
  xian zhu de xin yu yan te xing 。 zui ling ren xing fen de gai jin shi quan xin de zhi neng pi pei cao zuo fu (smart match operator) 。 gai cao zuo fu shi xian le yi zhong quan xin de bi jiao fang shi , er qi ju ti zuo yong shi sui cao zuo fu jie shou de shu ru er you suo bu tong de 。 ju li er yan , yao kan biao liang $needle shi fou cun zai yu shu zu @haystack zhong , zhi yao shi yong xin de ~~ cao zuo fu :
  if ( $needle ~~ @haystack ) ...
  qi jie guo jiang hui " zheng ru ni suo yuan ", er zhe zheng shi Perl yu yan yi guan de biao zhi xing zuo fa 。 zai ci cao zuo fu de ji chu zhi shang ,Perl yu yan zhong yu you le switch yu ju , er qie ta bi ren he chuan tong de switch yu ju , xiang C,C++ he JAVA yong you de na xie , yao xian jin de duo 。
  zheng ze biao da shi ye bian de geng jia qiang da le 。 cheng xu yuan men xian zai ke yi zai zheng ze biao da shi zhong shi yong yong ming ming de bu huo bian liang (named captures) , er bu shi shu kuo hao lai huo zhi pi pei de bu huo bian liang 。Perl 5.10 huan zhi chi qian tao pi pei , shi de wo men xian zai ke yi shi yong xu duo you xiao de pi pei jie gou , you qi shi zai ju fa jie xi shi 。 jin guan tian jia le xin de te xing , zheng ze biao da yin qing zai hen duo fang mian zuo le jing xin tiao zheng bing qie ti gao le su du 。
  ta de gai jin bao kuo ke zai han shu nei chi xu de zhuang tai bian liang (state variable) , shi yong hu ke yi zi ji tiao zheng Perl yun xing fang shi de yong hu zi ding yi pragmata , yi ge " ding yi huo " de cao zuo fu , wei fan zhuan dui xiang (inside-out objects) ti gong de fu hao ha xi biao (field hashes) , yi ji gai jin de cuo wu xin xi 。
  jie shi qi de gai jin
  bing fei zhi you cheng xu yu yan de gai jin ,Perl jie shi qi ben shen yi bian de geng kuai , geng shao nei cun zhan yong (memory footprint) , huan you le yi xie UTF-8 ji xian cheng fang mian de gai jin 。Perl de an zhuang fang shi bian cheng le ke yi dong de , zhe gei xi tong guan li yuan yi ji cao zuo xi tong zhi zuo zhe men lai shuo shi zai shi da hao xiao xi 。 yuan dai ma xian zai bian de geng yi yi zhi , hen duo xiao bug ye bei shun shou gai zheng le 。 suo you zhe yi qie dou zao jiu le mu qian wei zhi zui bang de Perl.。
  xiang yao le jie guan yu 5.10 suo you de gai dong , qing kan Perl 5.10 yuan dai ma ban ben zhong zi dai de perldelta wen dang 。(link: http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod) xiang kan jian yi yi dian de jie shao de hua , Ricardo Signes' de jiang yi Perl 5.10 For People Who Aren't Totally Insane (link: http://www.slideshare.net/rjbs/p ... rent-totally-insane) zhi de yi du 。
  ru he huo qu Perl
  Perl zai chu Windows zhi wai de ji hu suo you de cao zuo xi tong li dou yi cheng wei biao zhun pei zhi le 。 bu guo bu xiang man man deng dai xi tong sheng ji bao de yong hu ke yi cong CPAN (the Comprehensive Perl Archive Network ) zi xing xia zai Perl 5.10 。 di zhi shi http://search.cpan.org/dist/perl/ , huo zhe cong Perl de zhu ye www.perl.org xia zai 。
  Windows yong hu ke yi bian yi cong CPAN huo qu de yuan dai ma lai qu de Perl, huo zhe ye ke yi xia zai liang ge yi yu an zhuang de yi bian yi ban ben zhong de yi ge 。 Strawberry Perl (link: http://strawberryperl.com/) shi yong hu qun wei Windows zhi zuo de yi bian yi ban ben , er ActiveState (link: http://activestate.com/) de ban ben you shang ye gong si wei hu dan shi tong yang mian fei 。ActiveState ban ben yi jing ke yi huo qu ,Stawberry Perl ye ji jiang wan cheng 。【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
guo ji xiao xi Perl bian cheng yu yan yu dang di shi jian sheng dan jie qi jian fa bu le xin ban ben Perl 5.10, zhe ye shi cong 2002 nian zhi jin zhe men “ guang wei liu chuan de dong tai yu yan ” de di yi ci 。Perl 5.10 tian jia le xin de yu yan te xing he xin gai jin de Perl jie shi qi 。 Perl shi you Larry Wall chuang zao de yi men dong tai cheng xu yu yan , shou ci fa bu yu 1987 nian 。 zai 20 nian de li shi li ,Perl jie yong le duo zhong yu yan ru C ,shell(sh), AWK, sed yi ji Lisp de te xing 。Perl yi jing cheng wei ji hu suo you Unix xi tong de biao zhun pei zhi zhi yi , bing ke yi zai xu duo de cao zuo xi tong shang yun xing , bao kuo Windows,Mac OS X,Solaris,z/OS,os400,QNX yi ji Symbian。 Perl de yu fa ling huo xing you shi shi ta bian de nan yi yue du , er xiang Python you yu gu ding de yu fa jie gou zai zhe xie nian yi jing sheng guo le Perl。 er qie Web kai fa de jiao ben yu yan bi ru PHP、Ruby deng ye yi jing kai shi jian jian qu dai le Perl yi du yong you de you shi 。20 nian lai Perl de jing kuang mei kuang yu xia , dao jin tian yi ru can zhu 。 xin te xing xian zhu de xin yu yan te xing 。 zui ling ren xing fen de gai jin shi quan xin de zhi neng pi pei cao zuo fu (smart match operator) 。 gai cao zuo fu shi xian le yi zhong quan xin de bi jiao fang shi , er qi ju ti zuo yong shi sui cao zuo fu jie shou de shu ru er you suo bu tong de 。 ju li er yan , yao kan biao liang $needle shi fou cun zai yu shu zu @haystack zhong , zhi yao shi yong xin de ~~ cao zuo fu : if ( $needle ~~ @haystack ) ... qi jie guo jiang hui " zheng ru ni suo yuan ", er zhe zheng shi Perl yu yan yi guan de biao zhi xing zuo fa 。 zai ci cao zuo fu de ji chu zhi shang ,Perl yu yan zhong yu you le switch yu ju , er qie ta bi ren he chuan tong de switch yu ju , xiang C,C++ he JAVA yong you de na xie , yao xian jin de duo 。 zheng ze biao da shi ye bian de geng jia qiang da le 。 cheng xu yuan men xian zai ke yi zai zheng ze biao da shi zhong shi yong yong ming ming de bu huo bian liang (named captures) , er bu shi shu kuo hao lai huo zhi pi pei de bu huo bian liang 。Perl 5.10 huan zhi chi qian tao pi pei , shi de wo men xian zai ke yi shi yong xu duo you xiao de pi pei jie gou , you qi shi zai ju fa jie xi shi 。 jin guan tian jia le xin de te xing , zheng ze biao da yin qing zai hen duo fang mian zuo le jing xin tiao zheng bing qie ti gao le su du 。 ta de gai jin bao kuo ke zai han shu nei chi xu de zhuang tai bian liang (state variable) , shi yong hu ke yi zi ji tiao zheng Perl yun xing fang shi de yong hu zi ding yi pragmata , yi ge " ding yi huo " de cao zuo fu , wei fan zhuan dui xiang (inside-out objects) ti gong de fu hao ha xi biao (field hashes) , yi ji gai jin de cuo wu xin xi 。 jie shi qi de gai jin bing fei zhi you cheng xu yu yan de gai jin ,Perl jie shi qi ben shen yi bian de geng kuai , geng shao nei cun zhan yong (memory footprint) , huan you le yi xie UTF-8 ji xian cheng fang mian de gai jin 。Perl de an zhuang fang shi bian cheng le ke yi dong de , zhe gei xi tong guan li yuan yi ji cao zuo xi tong zhi zuo zhe men lai shuo shi zai shi da hao xiao xi 。 yuan dai ma xian zai bian de geng yi yi zhi , hen duo xiao bug ye bei shun shou gai zheng le 。 suo you zhe yi qie dou zao jiu le mu qian wei zhi zui bang de Perl.。 xiang yao le jie guan yu 5.10 suo you de gai dong , qing kan Perl 5.10 yuan dai ma ban ben zhong zi dai de perldelta wen dang 。(link: http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod) xiang kan jian yi yi dian de jie shao de hua , Ricardo Signes' de jiang yi Perl 5.10 For People Who Aren't Totally Insane (link: http://www.slideshare.net/rjbs/p ... rent-totally-insane) zhi de yi du 。 ru he huo qu Perl Perl zai chu Windows zhi wai de ji hu suo you de cao zuo xi tong li dou yi cheng wei biao zhun pei zhi le 。 bu guo bu xiang man man deng dai xi tong sheng ji bao de yong hu ke yi cong CPAN (the Comprehensive Perl Archive Network ) zi xing xia zai Perl 5.10 。 di zhi shi http://search.cpan.org/dist/perl/ , huo zhe cong Perl de zhu ye www.perl.org xia zai 。 Windows yong hu ke yi bian yi cong CPAN huo qu de yuan dai ma lai qu de Perl, huo zhe ye ke yi xia zai liang ge yi yu an zhuang de yi bian yi ban ben zhong de yi ge 。 Strawberry Perl (link: http://strawberryperl.com/) shi yong hu qun wei Windows zhi zuo de yi bian yi ban ben , er ActiveState (link: http://activestate.com/) de ban ben you shang ye gong si wei hu dan shi tong yang mian fei 。ActiveState ban ben yi jing ke yi huo qu ,Stawberry Perl ye ji jiang wan cheng 。
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
情人节的清纯女生(9)
情人节的清纯女生(8)
情人节的清纯女生(7)
情人节的清纯女生(6)
山东蓬莱海边组照
一探哲蚌 II
一探哲蚌 III
古长城的一角
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有