| Start |
|---|
| Conditionals Perl supports many kinds of conditional statements (statements that are based on boolean results). The most common conditional statements are if-else, unless, and ternary statements. If-Else StatementsThe basic structure of an if-statement is like this: For simple if-statements, the if can precede or succeed the code to be executed. |
| Loops Perl supports many kinds of loop constructs: for/foreach, while/do-while, and until. The while loop evaluates the conditional before executing the associated block. So, sometimes the block is never executed. For example, the following code would never be executed if the filehandle The |
Read Article
https://develop.horje.com/learn/1434/reference