InterviewSolution
Saved Bookmarks
| 1. |
What is the use of iterative statements in Perl? |
|
Answer» A loop statement allows a programmer to perform a repetitive task or EXECUTE a set of statements multiple times in iterations. It is essential when programmers need to execute a block of CODE several times. Iterative statements get EXECUTED sequentially. There are SPECIFIC ways to change the value so that at every iteration, it can show different values. There are five different TYPES of iterative statements in Perl. These are:
|
|