While Loops



my $counter = 0;
while ( $counter < 10 ) {
    say $counter;
    $counter++;
}