programming-examples/perl/Statement/Loop Control Statements.pl

8 lines
120 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/local/bin/perl -w
for ($x=1; $x <= 10; $x++)
{
print $x . ", ";
}
print "\n";