Wednesday 1 January 2020

What is a continue function in Perl?


Control statement makes iteration to beginning of loops for next iteration.

Method 1:

$t = 0;

while($t < 3) {
   print "Value of var t = $t\n";
} continue {
   $t = $t + 1;
}


Read more »

Labels: , , ,