📄 index-1.htm
字号:
<LI><A HREF="ch13.htm#ExampleUsingtheTTFONTSIZEFACECourierevalFONTTTFONTSIZEFuNCtionFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#ExampleUsingtheTTFONTSIZEFACECourierevalFONTTTFONTSIZEFuNCtionFONT">
Example: Using the <TT>eval()</TT>
FuNCtion</FONT></A>
</UL>
<LI><A HREF="ch13.htm#WhatIsaSignal" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#WhatIsaSignal">
What Is a Signal?</A>
<UL>
<LI><A HREF="ch13.htm#ExampleHowtoHandleaSignal" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#ExampleHowtoHandleaSignal">
Example: How to Handle a Signal</A>
</UL>
<LI><A HREF="ch13.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#Summary">
Summary</A>
<LI><A HREF="ch13.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch13.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch13.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>14
</FONT><FONT SIZE=5> What Are Objects?</FONT></H2>
<UL>
<LI><A HREF="ch14.htm#LearningaboutClasses" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#LearningaboutClasses">
Learning about Classes</A>
<LI><A HREF="ch14.htm#AbstractThinking" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#AbstractThinking">
Abstract Thinking</A>
<LI><A HREF="ch14.htm#OverridingMethodswithPolymorphism" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#OverridingMethodswithPolymorphism">
Overriding Methods with Polymorphism</A>
<LI><A HREF="ch14.htm#KeepingCodeandDataTogetherwithENCapsulation" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#KeepingCodeandDataTogetherwithENCapsulation">
Keeping Code and Data Together with ENCapsulation</A>
<LI><A HREF="ch14.htm#HowPerlHandlesObjects" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#HowPerlHandlesObjects">
How Perl Handles Objects</A>
<UL>
<LI><A HREF="ch14.htm#ExampleBlesstheHashandPasstheRefereNCe" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExampleBlesstheHashandPasstheRefereNCe">
Example: Bless the Hash and Pass the RefereNCe</A>
<LI><A HREF="ch14.htm#ExampleInitializingProperties" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExampleInitializingProperties">
Example: Initializing Properties</A>
<LI><A HREF="ch14.htm#ExampleUsingNamedParametersinConstructors" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExampleUsingNamedParametersinConstructors">
Example: Using Named Parameters in Constructors</A>
<LI><A HREF="ch14.htm#ExampleInheritaNCePerlStyle" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExampleInheritaNCePerlStyle">
Example: InheritaNCe, Perl Style</A>
<LI><A HREF="ch14.htm#ExamplePolymorphism" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExamplePolymorphism">
Example: Polymorphism</A>
<LI><A HREF="ch14.htm#ExampleHowOneClassCanContainAnother" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ExampleHowOneClassCanContainAnother">
Example: How One Class Can Contain Another</A>
</UL>
<LI><A HREF="ch14.htm#StaticVersusRegularMethodsandVariables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#StaticVersusRegularMethodsandVariables">
Static Versus Regular Methods and Variables</A>
<LI><A HREF="ch14.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#Summary">
Summary</A>
<LI><A HREF="ch14.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch14.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch14.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>15
</FONT><FONT SIZE=5> Perl Modules</FONT></H2>
<UL>
<LI><A HREF="ch15.htm#ModuleConstructorsandDestructors" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ModuleConstructorsandDestructors">
Module Constructors and Destructors</A>
<UL>
<LI><A HREF="ch15.htm#TheTTFONTSIZEFACECourierBEGINFONTTTFONTSIZEBlockFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheTTFONTSIZEFACECourierBEGINFONTTTFONTSIZEBlockFONT">
The <TT>BEGIN </TT>Block</FONT>
</A>
<LI><A HREF="ch15.htm#TheTTFONTSIZEFACECourierENDFONTTTFONTSIZEBlockFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheTTFONTSIZEFACECourierENDFONTTTFONTSIZEBlockFONT">
The <TT>END</TT>
Block</FONT></A>
</UL>
<LI><A HREF="ch15.htm#SymbolTables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#SymbolTables">
Symbol Tables</A>
<LI><A HREF="ch15.htm#TheTTFONTSIZEFACECourierrequireFONTTTFONTSIZECompilerDirectiveFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheTTFONTSIZEFACECourierrequireFONTTTFONTSIZECompilerDirectiveFONT">
The <TT>require</TT>
Compiler Directive</FONT></A>
<LI><A HREF="ch15.htm#TheTTFONTSIZEFACECourieruseFONTTTFONTSIZECompilerDirectiveFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheTTFONTSIZEFACECourieruseFONTTTFONTSIZECompilerDirectiveFONT">
The <TT>use</TT>
Compiler Directive</FONT></A>
<LI><A HREF="ch15.htm#WhatsaPragma" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#WhatsaPragma">
What's a Pragma?</A>
<LI><A HREF="ch15.htm#TheTTFONTSIZEFACECourierstrictFONTTTFONTSIZEPragmaFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheTTFONTSIZEFACECourierstrictFONTTTFONTSIZEPragmaFONT">
The <TT>strict</TT>
Pragma</FONT></A>
<LI><A HREF="ch15.htm#TheStandardModules" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TheStandardModules">
The Standard Modules</A>
<LI><A HREF="ch15.htm#TTFONTSIZEFACECourierstrictmyFONTTTFONTSIZEandModulesFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#TTFONTSIZEFACECourierstrictmyFONTTTFONTSIZEandModulesFONT">
<TT>strict, my() </TT>and
Modules</FONT></A>
<LI><A HREF="ch15.htm#ModuleExamples" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ModuleExamples">
Module Examples</A>
<UL>
<LI><A HREF="ch15.htm#ExampleTheTTFONTSIZEFACECourierCarpFONTTTFONTSIZEModuleFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ExampleTheTTFONTSIZEFACECourierCarpFONTTTFONTSIZEModuleFONT">
Example: The <TT>Carp</TT>
Module</FONT></A>
<LI><A HREF="ch15.htm#ExampleTheTTFONTSIZEFACECourierEnglishFONTTTFONTSIZEModuleFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ExampleTheTTFONTSIZEFACECourierEnglishFONTTTFONTSIZEModuleFONT">
Example: The <TT>English</TT>
Module</FONT></A>
<LI><A HREF="ch15.htm#ExampleTheTTFONTSIZEFACECourierEnvFONTTTFONTSIZEModuleFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ExampleTheTTFONTSIZEFACECourierEnvFONTTTFONTSIZEModuleFONT">
Example: The <TT>Env </TT>Module</FONT>
</A>
</UL>
<LI><A HREF="ch15.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#Summary">
Summary</A>
<LI><A HREF="ch15.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch15.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch15.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>16
</FONT><FONT SIZE=5> Debugging Perl</FONT></H2>
<UL>
<LI><A HREF="ch16.htm#SyntaxErrors" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#SyntaxErrors">
Syntax Errors</A>
<LI><A HREF="ch16.htm#CommonSyntaxErrors" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#CommonSyntaxErrors">
Common Syntax Errors</A>
<LI><A HREF="ch16.htm#LogicErrors" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#LogicErrors">
Logic Errors</A>
<UL>
<LI><A HREF="ch16.htm#UsingtheTTFONTSIZEFACECourierwFONTTTFONTSIZECommandLineOptionFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#UsingtheTTFONTSIZEFACECourierwFONTTTFONTSIZECommandLineOptionFONT">
Using the <TT>-w</TT>
Command-Line Option</FONT></A>
<LI><A HREF="ch16.htm#BeingStrictwithYourVariables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#BeingStrictwithYourVariables">
Being Strict with Your Variables</A>
<LI><A HREF="ch16.htm#SteppingThroughYourScript" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#SteppingThroughYourScript">
Stepping Through Your Script</A>
<LI><A HREF="ch16.htm#ExamplesDisplayingInformation" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ExamplesDisplayingInformation">
Examples: Displaying Information</A>
<LI><A HREF="ch16.htm#ExamplesUsingtheFONTSIZEFACELBIHelveticaBlackObliquenFONTFONTSIZECommandFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ExamplesUsingtheFONTSIZEFACELBIHelveticaBlackObliquenFONTFONTSIZECommandFONT">
Examples: Using the n
Command</A>
<LI><A HREF="ch16.htm#ExamplesUsingBreakpoints" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ExamplesUsingBreakpoints">
Examples: Using Breakpoints</A>
<LI><A HREF="ch16.htm#ExamplesCreatingCommandAliases" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ExamplesCreatingCommandAliases">
Examples: Creating Command Aliases</A>
<LI><A HREF="ch16.htm#ExamplesUsingtheDebuggerasanInteractiveInterpreter" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ExamplesUsingtheDebuggerasanInteractiveInterpreter">
Examples: Using the Debugger as an Interactive Interpreter
</A>
</UL>
<LI><A HREF="ch16.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#Summary">
Summary</A>
<LI><A HREF="ch16.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch16.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch16.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>17
</FONT><FONT SIZE=5> Using Command-Line Options</FONT></H2>
<UL>
<LI><A HREF="ch17.htm#HowAretheOptionsSpecified" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#HowAretheOptionsSpecified">
How Are the Options Specified?</A>
<LI><A HREF="ch17.htm#WhatAretheOptions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#WhatAretheOptions">
What Are the Options?</A>
<UL>
<LI><A HREF="ch17.htm#ExampleUsingtheTTFONTSIZEFACECourierFONTTTFONTSIZEOptionFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ExampleUsingtheTTFONTSIZEFACECourierFONTTTFONTSIZEOptionFONT">
Example: Using the <TT>-0</TT>
Option</FONT></A>
<LI><A HREF="ch17.htm#ExampleUsingtheTTFONTSIZEFACECouriernFONTTTFONTSIZEandFONTTTFONTSIZEFACECourierpFONTTTFONTSIZEOptionsFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ExampleUsingtheTTFONTSIZEFACECouriernFONTTTFONTSIZEandFONTTTFONTSIZEFACECourierpFONTTTFONTSIZEOptionsFONT">
Example: Using the <TT>-n</TT>
and </FONT><TT>-p</TT>
Options</FONT></A>
<LI><A HREF="ch17.htm#ExampleUsingtheTTFONTSIZEFACECourieriFONTTTFONTSIZEOptionFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ExampleUsingtheTTFONTSIZEFACECourieriFONTTTFONTSIZEOptionFONT">
Example: Using the <TT>-i</TT>
Option</FONT></A>
<LI><A HREF="ch17.htm#ExampleUsingtheTTFONTSIZEFACECouriersFONTTTFONTSIZEOptionFONT" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ExampleUsingtheTTFONTSIZEFACECouriersFONTTTFONTSIZEOptionFONT">
Example: Using the <TT>-s</TT>
Option</FONT></A>
</UL>
<LI><A HREF="ch17.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#Summary">
Summary</A>
<LI><A HREF="ch17.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch17.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch17.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>18
</FONT><FONT SIZE=5> Using Internet Protocols</FONT></H2>
<UL>
<LI><A HREF="ch18.htm#Sockets" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch18.htm#Sockets">
Sockets</A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -