资源描述:
《Effective Perl Programming.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Introduction“Learningthefundamentalsofaprogramminglanguageisonething:learninghowtodesignandwriteeffectiveprogramsinthatlanguageissomethingelseentirely.”WhatScottMeyerswroteintheIntroductiontoEffectiveC++isjustastrueforPerl.Perlisaveryhighlevellanguag
2、e—aVHLLfortheacronym-aware.Itincor-porateshigh-levelfunctionalitylikeregularexpressions,networking,andprocessmanagementintoacontext-sensitivegrammarthatismore“human,”inaway,thanthatofotherprogramminglanguages.Perlisabettertextprocessinglanguagethanan
3、yotherwidelyusedcomputerlan-guage,orperhapsanyothercomputerlanguage,period.Perlisanincredi-blyeffectivescriptingtoolforUnixadministrators,anditisthefirstchoiceofmostUnixCGIscriptersworldwide.Perlalsosupportsobject-orientedprogramming,modularsoftware,c
4、ross-platformdevelopment,embed-ding,andextensibility.ThereisalottolearnaboutPerl.OnceyouhaveworkedyourwaythroughanintroductorybookorclassonPerl,youhavelearnedtowritewhatLarryWall,Perl’screator,fondlyreferstoas“babytalk.”Perlbabytalkisplain,direct,and
5、verbose.It’snotbad—youareallowedandencouragedtowritePerlinwhateverstyleworksforyou.Youmayreachapointatwhichyouwanttomovebeyondplain,direct,andverbosePerltowardsomethingmoresuccinctandindividualistic.Thisbookiswrittenforpeoplewhoaresettingoffdownthatp
6、ath.Effec-tivePerlProgrammingendeavorstoteachyouwhatyouneedtoknowtobecomeafluentandexpressivePerlprogrammer.Thisbookwillprovideyouseveraldifferentkindsofadvicetohelpyouonyourway.■Knowledge,orperhaps,“Perltrivia.”ManydifferentcomplextasksinPerlhavebeen
7、orcanbereducedtoextremelysimplestatements.AlotoflearningtoprogrameffectivelyinPerlisacquiringanadequatehttp://www.effectiveperl.com2Introductionreservoirofexperienceandknowledgeaboutthe“right”waystodothings.Onceyouknowgoodsolutions,youcanapplythemtoy
8、ourownproblems.Furthermore,onceyouknowwhatgoodsolutionslooklike,youcaninventyourownandjudgetheir“rightness”accurately.■Howtosolveproblems.Youmayalreadyhavegoodanalyticaland/ordebuggingskillsfromyourworkinanotherprogramminglanguage.Thisbookwillteachyo