programming-examples/perl/Statement/Reference for loop control variable.pl

4 lines
115 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
for ($loop_index = 1; $loop_index <= 10; $loop_index++) {
print "This is iteration number $loop_index\n";
}