programming-examples/perl/Statement/foreach ( 1 .. 10 ) loops 10 times, not requiring a control variable.pl

4 lines
41 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
foreach ( 1 .. 10 ) {
print "*";
}