πŸ“˜ 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;

One thought on “πŸ“˜ Sequence operator … in Perl 6”

Leave a Reply

Your email address will not be published. Required fields are marked *