Google News
logo
Perl - Interview Questions
How many loop control keywords are there in Perl?
There are three types of loop control statement :
 
* Next : Perl next statement is like continue statement in C. It lets you move on to the next element of your array or hash skipping all elements in between.

* Last : It terminates the loop statement and transfers execution to the statement immediately following the loop. continue statement.

* Redo : Perl redo statement restarts the current loop without evaluation of the control statement.
Advertisement