programming-examples/perl/Statement/The until modifier repeatedly executes the second expression as long as the first expression is false.pl

5 lines
82 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#Format: Expression2 until Expression1;
$x=1;
print $x++,"\n" until $x == 5;