programming-examples/perl/Statement/Two ranges.pl
2019-11-15 12:59:38 +01:00

9 lines
148 B
Raku

#!c:/perl/bin
@mynumbers = (1..20, 25..40);
for($loopcount=0; $loopcount<40; $loopcount++)
{
print "@mynumbers[$loopcount] \n";
}