Previous Page Next Page

7.3. What You Should Know

1.What are control structures?
2.What are blocks?
3.Are curly braces optional after the if or else constructs?
4.What is the purpose of the else block?
5.What construct allows for multiple choices?
6.How does a while loop differ from a do/while? From an until?
7.How do you break out of a loop before you reach the end of the enclosing block?
8.What is a redo statement? How does it differ from the next statement?
9.Why would you use next rather than redo to control a loop?
10.What is an infinite loop?
11.How does a foreach loop work?
12.Does Perl support a switch statement? What is Switch.pm?
13.What is a continue block used for?

Previous Page Next Page