- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Loop Control Statements in Perl
Loop control statements change the execution from its normal sequence. When execution leaves a scope, all automatic objects that were created in that scope are destroyed.
Perl supports the following control statements. Click the following links to check their detail.
Sr.No. | Control Statement & Description |
---|---|
1 | next statement It causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating. |
2 | last statement Terminates the loop statement and transfers execution to the statement immediately following the loop. |
3 | continue statement A continue BLOCK, it is always executed just before the conditional is about to be evaluated again. |
4 | redo statement The redo command restarts the loop block without evaluating the conditional again. The continue block, if any, is not executed. |
5 | goto statement Perl supports a goto command with three forms: goto label, goto expr, and goto &name. |
- Related Articles
- Loop Control Statements in Python
- Loop Control Statements in Go Language
- How to control for loop using break and continue statements in C#?
- The Infinite Loop in Perl
- Loop control statement in Java
- What are the loop control statements in C language? Explain with flow chart and program
- Difference between Open Loop and Closed Loop Control System
- What is Control Statements?
- How to break out of a loop in Perl?
- What are control statements in C#?
- What is Open Loop Congestion Control?
- What is closed Loop Congestion Control?
- What is translation of control statements in compiler design?
- Nested for loop and other related statements in C language
- Loops and Control Statements (continue, break and pass) in Python

Advertisements