programming-examples/perl/Statement/The .. operator goes from a minimum to a maximum, with foreach.pl

6 lines
66 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl -w
foreach $i (5..10) {
print "$i\n";
}