programming-examples/perl/Statement/Looping Modifiers- The while Modifier.pl

5 lines
82 B
Perl
Raw Normal View History

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