📄 index.htm
字号:
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
4</FONT><FONT SIZE=5> <A HREF="ch4.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm"><I>Introduction to Perl Modules</I></A></FONT>
</H2>
<UL>
<LI><A HREF="ch4.htm#WhatIsaPerlModule" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#WhatIsaPerlModule" >What Is a Perl Module?</A>
<LI><A HREF="ch4.htm#UsingPerlModulesusevsrequire" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#UsingPerlModulesusevsrequire" >Using Perl Modules: use vs. require</A>
<LI><A HREF="ch4.htm#TheSampleLetterpmModule" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#TheSampleLetterpmModule" >The Sample Letter.pm Module</A>
<LI><A HREF="ch4.htm#SubroutinesandPassingParameters" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#SubroutinesandPassingParameters" >Subroutines and Passing Parameters</A>
<LI><A HREF="ch4.htm#AnotherSampleModuleFinance" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#AnotherSampleModuleFinance" >Another Sample Module: Finance</A>
<UL>
<LI><A HREF="ch4.htm#ReturnedValuesfromSubroutinesinaPa" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#ReturnedValuesfromSubroutinesinaPa" >Returned Values from Subroutines in a Package</A>
</UL>
<LI><A HREF="ch4.htm#MultipleInheritance" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#MultipleInheritance" >Multiple Inheritance</A>
<LI><A HREF="ch4.htm#ThePerlModuleLibraries" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#ThePerlModuleLibraries" >The Perl Module Libraries</A>
<UL>
<LI><A HREF="ch4.htm#ExtensionModules" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#ExtensionModules" >Extension Modules</A>
<LI><A HREF="ch4.htm#WhatIsCPAN" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#WhatIsCPAN" >What Is CPAN?</A>
</UL>
<LI><A HREF="ch4.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch4.htm#Summary" >Summary</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
5</FONT><FONT SIZE=5> <A HREF="ch5.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm"><I>Object-Oriented Programming in
Perl</I></A></FONT></H2>
<UL>
<LI><A HREF="ch5.htm#IntroductiontoModules" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#IntroductiontoModules" >Introduction to Modules</A>
<UL>
<LI><A HREF="ch5.htm#TheThreeImportantRules" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#TheThreeImportantRules" >The Three Important Rules</A>
</UL>
<LI><A HREF="ch5.htm#ClassesinPerl" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#ClassesinPerl" >Classes in Perl</A>
<LI><A HREF="ch5.htm#CreatingaClass" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#CreatingaClass" >Creating a Class</A>
<LI><A HREF="ch5.htm#BlessingaConstructor" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#BlessingaConstructor" >Blessing a Constructor</A>
<UL>
<LI><A HREF="ch5.htm#InstanceVariables" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#InstanceVariables" >Instance Variables</A>
</UL>
<LI><A HREF="ch5.htm#Methods" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#Methods" >Methods</A>
<LI><A HREF="ch5.htm#ExportingMethodswithExporterpm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#ExportingMethodswithExporterpm" >Exporting Methods with Exporter.pm</A>
<LI><A HREF="ch5.htm#InvokingMethods" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#InvokingMethods" >Invoking Methods</A>
<LI><A HREF="ch5.htm#Overrides" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#Overrides" >Overrides</A>
<LI><A HREF="ch5.htm#Destructors" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#Destructors" >Destructors</A>
<LI><A HREF="ch5.htm#Inheritance" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#Inheritance" >Inheritance</A>
<LI><A HREF="ch5.htm#OverridingMethods" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#OverridingMethods" >Overriding Methods</A>
<LI><A HREF="ch5.htm#AFewCommentsAboutClassesandObjects" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#AFewCommentsAboutClassesandObjects" >A Few Comments About Classes and Objects in Perl</A>
<LI><A HREF="ch5.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch5.htm#Summary" >Summary</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
6</FONT><FONT SIZE=5> <A HREF="ch6.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm"><I>Binding Variables to Objects</I></A></FONT>
</H2>
<UL>
<LI><A HREF="ch6.htm#ThetieFunction" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#ThetieFunction" >The tie() Function</A>
<LI><A HREF="ch6.htm#TyingScalars" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#TyingScalars" >Tying Scalars</A>
<LI><A HREF="ch6.htm#TyingtoanArray" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#TyingtoanArray" >Tying to an Array</A>
<LI><A HREF="ch6.htm#TyingtoanAssociativeArray" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#TyingtoanAssociativeArray" >Tying to an Associative Array</A>
<LI><A HREF="ch6.htm#ForMoreInformation" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#ForMoreInformation" >For More Information</A>
<LI><A HREF="ch6.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch6.htm#Summary" >Summary</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
7</FONT><FONT SIZE=5> <A HREF="ch7.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm"><I>String and Patterns</I></A></FONT></H2>
<UL>
<LI><A HREF="ch7.htm#BasicStringOperations" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#BasicStringOperations" >Basic String Operations</A>
<UL>
<LI><A HREF="ch7.htm#ThechopandlengthFunctions" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ThechopandlengthFunctions" >The chop() and length() Functions</A>
<LI><A HREF="ch7.htm#HandlingtheCaseinStrings" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#HandlingtheCaseinStrings" >Handling the Case in Strings</A>
<LI><A HREF="ch7.htm#JoiningStringsTogether" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#JoiningStringsTogether" >Joining Strings Together</A>
<LI><A HREF="ch7.htm#PrintingFormattedNumbers" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#PrintingFormattedNumbers" >Printing Formatted Numbers</A>
</UL>
<LI><A HREF="ch7.htm#FindingSubstrings" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#FindingSubstrings" >Finding Substrings</A>
<UL>
<LI><A HREF="ch7.htm#ThesubstrFunction" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ThesubstrFunction" >The substr Function</A>
<LI><A HREF="ch7.htm#StringSearchingwithPatterns" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#StringSearchingwithPatterns" >String Searching with Patterns</A>
<LI><A HREF="ch7.htm#SpecialCharactersinPerlPatternSearc" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#SpecialCharactersinPerlPatternSearc" >Special Characters in Perl Pattern Searches</A>
<LI><A HREF="ch7.htm#ShortcutsforWordsinPerl" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ShortcutsforWordsinPerl" >Shortcuts for Words in Perl</A>
<LI><A HREF="ch7.htm#ThequotemetaFunction" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ThequotemetaFunction" >The quotemeta Function</A>
<LI><A HREF="ch7.htm#SpecifyingtheNumberofMatches" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#SpecifyingtheNumberofMatches" >Specifying the Number of Matches</A>
<LI><A HREF="ch7.htm#SpecifyingMoreThanOneChoice" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#SpecifyingMoreThanOneChoice" >Specifying More Than One Choice</A>
<LI><A HREF="ch7.htm#SearchingaStringforMoreThanOnePat" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#SearchingaStringforMoreThanOnePat" >Searching a String for More Than One Pattern to Match</A>
</UL>
<LI><A HREF="ch7.htm#ReusingPortionsofPatterns" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ReusingPortionsofPatterns" >Reusing Portions of Patterns</A>
<LI><A HREF="ch7.htm#PatternMatchingOptions" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#PatternMatchingOptions" >Pattern-Matching Options</A>
<LI><A HREF="ch7.htm#SubstitutingTextThroughPatternMatchi" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#SubstitutingTextThroughPatternMatchi" >Substituting Text Through Pattern Matching </A>
<LI><A HREF="ch7.htm#TheTranslationOperator" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#TheTranslationOperator" >The Translation Operator </A>
<LI><A HREF="ch7.htm#ExtendedPatternMatching" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#ExtendedPatternMatching" >Extended Pattern Matching </A>
<LI><A HREF="ch7.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch7.htm#Summary" >Summary </A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
8</FONT><FONT SIZE=5> <A HREF="ch8.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch8.htm"><I>Documenting Perl Scripts</I></A></FONT>
</H2>
<UL>
<LI><A HREF="ch8.htm#EmbeddingmanPages" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch8.htm#EmbeddingmanPages" >Embedding man Pages</A>
<LI><A HREF="ch8.htm#ThePODFormat" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch8.htm#ThePODFormat" >The POD Format</A>
<LI><A HREF="ch8.htm#TranslatingPODintoOtherFormats" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch8.htm#TranslatingPODintoOtherFormats" >Translating POD into Other Formats</A>
<LI><A HREF="ch8.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch8.htm#Summary" >Summary</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
9</FONT><FONT SIZE=5> <A HREF="ch9.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm"><I>Portability Issues with Windows
and Perl</I></A> </FONT></H2>
<UL>
<LI><A HREF="ch9.htm#PerlforWindows" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#PerlforWindows" >Perl for Windows</A>
<LI><A HREF="ch9.htm#GettingtheDistribution" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#GettingtheDistribution" >Getting the Distribution</A>
<LI><A HREF="ch9.htm#DifferencesinPerlonNTandUNIX" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#DifferencesinPerlonNTandUNIX" >Differences in Perl on NT and UNIX</A>
<LI><A HREF="ch9.htm#UnsupportedFunctions" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#UnsupportedFunctions" >Unsupported Functions</A>
<LI><A HREF="ch9.htm#ExtensionstoPerl5forWindowsNT" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#ExtensionstoPerl5forWindowsNT" >Extensions to Perl 5 for Windows NT</A>
<UL>
<LI><A HREF="ch9.htm#EventLogFunctions" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#EventLogFunctions" >Event Log Functions</A>
<LI><A HREF="ch9.htm#NTRegistryRoutines" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#NTRegistryRoutines" >NT Registry Routines </A>
</UL>
<LI><A HREF="ch9.htm#ProblemswithWindows95" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#ProblemswithWindows95" >Problems with Windows 95</A>
<LI><A HREF="ch9.htm#Summary" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch9.htm#Summary" >Summary</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter</FONT></I><FONT SIZE=5 COLOR=#FF0000>
10</FONT><FONT SIZE=5> <A HREF="ch10.htm" tppabs="http://www.mcp.com/815097600/0-672/0-672-30891-6/ch10.htm"><I>Win32 Modules on Windows NT</I></A>
</FONT></H2>
<UL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -