programming-examples/perl/Statement/Using foreach statement with print.pl
2019-11-15 12:59:38 +01:00

1 line
48 B
Perl

print "Current number: $_.\n" foreach (1 .. 10);