do while
The while loop, but executes at least once.
Same as JavaScript, once again.
Don't forget the semicolon.
$i = 0;
do {
print "Array element $i : $array[i]";
$i++
} while ($i <= $#array);
Lab
Home