programming-examples/perl/Statement/The until modifier repeatedly executes the second expression as long as the first expression is false.pl
2019-11-15 12:59:38 +01:00

5 lines
82 B
Raku

#Format: Expression2 until Expression1;
$x=1;
print $x++,"\n" until $x == 5;