📘 Sequence operator … in Perl 6

📘 Sequence operator … in Raku

N. B. Perl 6 has been renamed to Raku. Click to read more.


… creates a sequence and is called a sequence operator.

my @list = 1 ... 10;

The operator can also count backwards:

my @back = 10 ... 1;

Leave a Reply