资源描述:
《[Programming.Perl(4th,2012.2)].Tom.Christiansen.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、FOURTHEDITIONProgrammingPerlTomChristiansen,briandfoy&LarryWallwithJonOrwantBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoProgrammingPerl,FourthEditionbyTomChristiansen,briandfoy&LarryWall,withJonOrwantCopyright©2012TomChristiansen,briandfoy,LarryWall,andJonOrwant.Allrightsreserved.Prin
2、tedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourco
3、rporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editor:AndyOramCoverDesigner:KarenMontgomeryProductionEditor:HollyBauerInteriorDesigner:DavidFutatoProofreader:MarloweShaefferIllustrator:RobertRomanoIndexer:LucieHaskinsJanuary1991:FirstEdition.September1996:Secon
4、dEdition.July2000:ThirdEdition.February2012:FourthEdition.RevisionHistoryfortheFourthEdition:2011-02-13FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9780596004927forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedi
5、a,Inc.ProgrammingPerl,theimageofadromedarycamel,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,t
6、hedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-0-596-00492-7[M]1329160875TableofContentsPr
7、eface...................................................................xxiiiPartI.Overview1.AnOverviewofPerl.....................................................3GettingStarted3NaturalandArtificialLanguages4VariableSyntax5Verbs17AnAverageExample18HowtoDoIt20Filehandles21