Lynda Com Perl 5 Essential Training 英文正式版(教學) 軟體簡介: LyndaComPerl5EssentialTraining英文正式版(教學) Introduction Welcome Usingtheexercisefiles Prerequisites WhatisPerl? InstallingActiveState'sActivePerlonWindows InstallingEclipseonWindows InstallingEclipseonMac 1.PerlQuick-StartGuideforExperiencedProgrammers HelloWorld Countinglinesinafile UsingaloopinPerl UsingsubroutinesinPerl UsingPerl'sdocumentation 2.GeneralSyntax UnderstandinghowPerluseswhitespace Terminatingstatementswithsemicolons Creatingcomments Bestpracticesforformattingcode 3.VariablesandValues Understandingvaluesandvariables Declaringnumericvariables Declaringcharacterstringvariables Declaringlistsandarrays Pullingslicesfromarrays Understandinghashesandassociativearrays Gettingvaluepairsusingtheeachfunction Understandingtheundefvalue 4.StatementsandBlocks Assigningvaluestovariables Usingstatementsandexpressions Combiningstatementsintoblocks Understandingscope 5.ConditionalStatements Understandingconditionalstatements Creatingconditionalswithif Extendingconditionalswithelse Extendingconditionalswithelsif Buildingifstatementswithpostfixconditionals Creatingnegativeconditionalswithunless Usingtheternaryconditionaloperator 6.Loops Understandingloops Creatingloopswithwhile Creatingloopswithuntil Iteratinglistswithforeach Iteratinglistswithfor Usingloopcontrolstatements Buildingloopswithpostfixstatements 7.SpecialVariables Understandingspecialvariables Usingspecialvariables Workingwithspecialfilehandles Usingspecialconstants 8.Operators Performingbasicmathwitharithmeticoperators Creatingconditionalswithcomparisonoperators Combiningconditionalswithlogicaloperators Readingfilemetadatawithfiletestoperators Creatingasequencewiththerangeoperator Combiningstringswiththeconcatenationoperator Streamliningstringswithquoteoperators Understandingoperatorprecedence 9.RegularExpressions Understandingregularexpressions Searchingandreplacingtextwithregularexpressions Extractingmatcheswithparentheses Matchingwildcards Matchingclassesofcharacters Creatingarrayswithsplit 10.Subroutines Understandingsubroutines Definingandcallingsubroutines Usingargumentswithsubroutines Understandingscopeand"my"variables Returningvaluesfromasubroutine 11.ReferencesandDataStructures Understandingvaluesandreferences Definingarrayreferences Defininghashreferences Buildingmixeddatastructures 12.FileI/O Understandingstreamsandfiles Usingfilehandles Usingtheobject-orientedinterfaceforhandlingfile Workingwithbinaryfiles 13.Built-InFunctions Manipulatingstringswithbuilt-infunctions Workingwithnumbers Manipulatinglistsandarrayswithbuilt-infunctions Retrievingandformattingtime 14.Modules Leveragingcodewithmodules Understandingobject-orientedandproceduralmodules Creatingmodules Understandingobjectandinstancedata InstallingmodulesfromCPANonMacandUnix InstallingmodulesfromCPANonWindows 15.DocumentationwithPOD UnderstandingPOD DocumentingwithPOD ExploringaPODdocument 16.NewFeaturesinPerl5.10 UsingPerl5.10 Displayingtextwithsay Selectingfrommultiplechoiceswithgivenandwhen Keepingpersistentvariableswithstate 17.ExploringWebDevelopment ExploringCGI Usingadatabase Developingamodulelibrary