📄 index-1.htm
字号:
<UL>
<LI><A HREF="ch4.htm#ExampleUsingthecmpOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleUsingthecmpOperator">
Example: Using the cmp Operator</A>
</UL>
<LI><A HREF="ch4.htm#TheTernaryOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#TheTernaryOperator">
The Ternary Operator</A>
<UL>
<LI><A HREF="ch4.htm#ExampleUsingtheTernaryOperatortoAssignValues" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleUsingtheTernaryOperatortoAssignValues">
Example: Using the Ternary Operator to Assign Values</A>
</UL>
<LI><A HREF="ch4.htm#TheRangeOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#TheRangeOperator">
The Range Operator (..)</A>
<UL>
<LI><A HREF="ch4.htm#ExampleUsingtheRangeOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleUsingtheRangeOperator">
Example: Using the Range Operator</A>
</UL>
<LI><A HREF="ch4.htm#TheStringOperatorsandx" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#TheStringOperatorsandx">
The String Operators (. and x)</A>
<UL>
<LI><A HREF="ch4.htm#ExampleUsingtheCoNCatenationOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleUsingtheCoNCatenationOperator">
Example: Using the CoNCatenation Operator</A>
<LI><A HREF="ch4.htm#ExampleUsingtheRepetitionOperator" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleUsingtheRepetitionOperator">
Example: Using the Repetition Operator</A>
</UL>
<LI><A HREF="ch4.htm#TheAssignmentOperators" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#TheAssignmentOperators">
The Assignment Operators</A>
<UL>
<LI><A HREF="ch4.htm#ExampleAssignmentUsingArraySlices" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleAssignmentUsingArraySlices">
Example: Assignment Using Array Slices</A>
<LI><A HREF="ch4.htm#ExampleAssigninganArraytoScalarVariables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleAssigninganArraytoScalarVariables">
Example: Assigning an Array to Scalar Variables</A>
</UL>
<LI><A HREF="ch4.htm#OrderofPrecedeNCe" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#OrderofPrecedeNCe">
Order of PrecedeNCe</A>
<UL>
<LI><A HREF="ch4.htm#ExampleOrderofPrecedeNCe" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ExampleOrderofPrecedeNCe">
Example: Order of PrecedeNCe</A>
</UL>
<LI><A HREF="ch4.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#Summary">
Summary</A>
<LI><A HREF="ch4.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch4.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch4.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>5
</FONT><FONT SIZE=5> FuNCtions</FONT></H2>
<UL>
<UL>
<LI><A HREF="ch5.htm#ExampleUsingtheParameterArray" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleUsingtheParameterArray">
Example: Using the Parameter Array (@_)</A>
<LI><A HREF="ch5.htm#ExamplePassingParametersbyRefereNCe" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExamplePassingParametersbyRefereNCe">
Example: Passing Parameters by RefereNCe</A>
<LI><A HREF="ch5.htm#ExampleScopeofVariables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleScopeofVariables">
Example: Scope of Variables</A>
<LI><A HREF="ch5.htm#ExampleUsingaListasaFuNCtionParameter" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleUsingaListasaFuNCtionParameter">
Example: Using a List as a FuNCtion Parameter</A>
<LI><A HREF="ch5.htm#ExampleNestingFuNCtionCalls" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleNestingFuNCtionCalls">
Example: Nesting FuNCtion Calls</A>
<LI><A HREF="ch5.htm#ExampleUsingaPrivateFuNCtion" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleUsingaPrivateFuNCtion">
Example: Using a Private FuNCtion</A>
</UL>
<LI><A HREF="ch5.htm#StringFuNCtions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#StringFuNCtions">
String FuNCtions</A>
<UL>
<LI><A HREF="ch5.htm#ExampleChangingaStringsValue" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleChangingaStringsValue">
Example: Changing a String's Value</A>
<LI><A HREF="ch5.htm#ExampleSearchingaString" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleSearchingaString">
Example: Searching a String</A>
</UL>
<LI><A HREF="ch5.htm#ArrayFuNCtions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ArrayFuNCtions">
Array FuNCtions</A>
<UL>
<LI><A HREF="ch5.htm#ExamplePrintinganAssociativeArray" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExamplePrintinganAssociativeArray">
Example: Printing an Associative Array</A>
<LI><A HREF="ch5.htm#ExampleCheckingtheExisteNCeofanElement" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ExampleCheckingtheExisteNCeofanElement">
Example: Checking the ExisteNCe of an Element</A>
</UL>
<LI><A HREF="ch5.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#Summary">
Summary</A>
<LI><A HREF="ch5.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch5.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch5.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>6
</FONT><FONT SIZE=5> Statements</FONT></H2>
<UL>
<LI><A HREF="ch6.htm#UnderstandingExpressions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#UnderstandingExpressions">
Understanding Expressions</A>
<LI><A HREF="ch6.htm#StatementBlocks" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#StatementBlocks">
Statement Blocks</A>
<LI><A HREF="ch6.htm#StatementBlocksandLocalVariables" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#StatementBlocksandLocalVariables">
Statement Blocks and Local Variables</A>
<LI><A HREF="ch6.htm#StatementTypes" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#StatementTypes">
Statement Types</A>
<UL>
<LI><A HREF="ch6.htm#ExampleUsingtheifModifier" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ExampleUsingtheifModifier">
Example: Using the if Modifier</A>
<LI><A HREF="ch6.htm#ExampleUsingtheunlessModifier" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ExampleUsingtheunlessModifier">
Example: Using the unless Modifier</A>
<LI><A HREF="ch6.htm#ExampleUsingtheuntilModifier" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ExampleUsingtheuntilModifier">
Example: Using the until Modifier</A>
<LI><A HREF="ch6.htm#ExampleUsingthewhileModifier" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ExampleUsingthewhileModifier">
Example: Using the while Modifier</A>
</UL>
<LI><A HREF="ch6.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#Summary">
Summary</A>
<LI><A HREF="ch6.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch6.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch6.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>7
</FONT><FONT SIZE=5> Control Statements</FONT></H2>
<UL>
<LI><A HREF="ch7.htm#DecisionStatements" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#DecisionStatements">
Decision Statements</A>
<UL>
<LI><A HREF="ch7.htm#ExampleTheifStatement" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleTheifStatement">
Example: The if Statement</A>
</UL>
<LI><A HREF="ch7.htm#LoopStatements" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#LoopStatements">
Loop Statements</A>
<UL>
<LI><A HREF="ch7.htm#ExampleIWhileILoops" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleIWhileILoops">
Example: <I>While</I> Loops</A>
<LI><A HREF="ch7.htm#ExampleIUntilILoops" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleIUntilILoops">
Example: <I>Until</I> Loops</A>
<LI><A HREF="ch7.htm#ExampleIForILoops" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleIForILoops">
Example: <I>For</I> Loops</A>
<LI><A HREF="ch7.htm#ExampleIForeachILoops" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleIForeachILoops">
Example: <I>Foreach</I> Loops</A>
</UL>
<LI><A HREF="ch7.htm#JumpKeywords" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#JumpKeywords">
Jump Keywords</A>
<UL>
<LI><A HREF="ch7.htm#ExampleTheIlastIKeyword" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleTheIlastIKeyword">
Example: The <I>last</I> Keyword</A>
<LI><A HREF="ch7.htm#ExampleTheInextIKeyword" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleTheInextIKeyword">
Example: The <I>next</I> Keyword</A>
<LI><A HREF="ch7.htm#ExampleTheIredoIKeyword" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleTheIredoIKeyword">
Example: The <I>redo</I> Keyword</A>
<LI><A HREF="ch7.htm#ExampleTheIgotoIKeyword" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ExampleTheIgotoIKeyword">
Example: The <I>goto</I> Keyword</A>
</UL>
<LI><A HREF="ch7.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#Summary">
Summary</A>
<LI><A HREF="ch7.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch7.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch7.htm#ReviewExercises">
Review Exercises</A>
</UL>
<H2><I><FONT SIZE=5 COLOR=#FF0000>Chapter </FONT></I><FONT SIZE=5 COLOR=#FF0000>8
</FONT><FONT SIZE=5> RefereNCes</FONT></H2>
<UL>
<LI><A HREF="ch8.htm#RefereNCeTypes" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#RefereNCeTypes">
RefereNCe Types</A>
<UL>
<LI><A HREF="ch8.htm#ExamplePassingParameterstoFuNCtions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ExamplePassingParameterstoFuNCtions">
Example: Passing Parameters to FuNCtions</A>
<LI><A HREF="ch8.htm#ExampleTherefFuNCtion" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ExampleTherefFuNCtion">
Example: The ref() FuNCtion</A>
<LI><A HREF="ch8.htm#ExampleCreatingaDataRecord" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ExampleCreatingaDataRecord">
Example: Creating a Data Record</A>
<LI><A HREF="ch8.htm#ExampleInterpolatingFuNCtionsInsideDoubleQuotedStrings" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ExampleInterpolatingFuNCtionsInsideDoubleQuotedStrings">
Example: Interpolating FuNCtions Inside Double-Quoted Strings
</A>
</UL>
<LI><A HREF="ch8.htm#Summary" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#Summary">
Summary</A>
<LI><A HREF="ch8.htm#ReviewQuestions" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ReviewQuestions">
Review Questions</A>
<LI><A HREF="ch8.htm#ReviewExercises" tppabs="http://cheminf.nankai.edu.cn/~eb~/Perl%205%20By%20Example/ch8.htm#ReviewExercises">
Review Exercises</A>
</UL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -