58.6k views
14 votes
Name two looping mechanisms used in Perl.

1 Answer

9 votes
The loop consists of three important parts: the initialisation, the condition, and the update. In the initialisation step, you set up the variable which you're going to use in the condition.
User Rikesh
by
6.8k points