programming-examples/perl/Statement/Loop Control Statements.pl
2019-11-15 12:59:38 +01:00

8 lines
120 B
Perl

#!/usr/local/bin/perl -w
for ($x=1; $x <= 10; $x++)
{
print $x . ", ";
}
print "\n";