programming-examples/perl/Statement/range list and for loop.pl
2019-11-15 12:59:38 +01:00

8 lines
130 B
Raku

#!c:/perl/bin
@months=(1..12);
for($loopcount=0; $loopcount<13; $loopcount++)
{
print "@months[$loopcount] \n";
}