March 2005
Intermediate to advanced
1064 pages
34h 51m
English
In this chapter, we look at Perl's control structures, starting with the basic syntax of the language, expressions, and statements. We will then build these into more complex structures such as compound statements (also known as blocks) and conditional statements.
We will consider Perl's conditional statements, and then move on to read about loops in Perl. We will look at the various statements that we can use to create loops and how to use them in particular with lists, arrays, and hashes. We will also look into the modifiers provided by Perl to change the behavior of loops.
A Perl program consists of a mixture of statements, declarations, and comments. ...
Read now
Unlock full access