Until perl

Code examples

1
0

perl until loop

# Basic syntax:
until( condition ) {
   code to run;
}

# Example usage:
$i = 5;
until( $i > 10 ) {
   print "Value of i: $i\n";
   $i += 1;
}
# Note, until loops are kind of the opposite of whiles loop, they loops over 
# 	the code until the condition becomes true

Similar pages

Similar pages with examples

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................