… creates a sequence and is called a sequence operator.
my @list = 1 ... 10;
The operator can also count backwards:
my @back = 10 ... 1;
Science, Programming, Electronics, Languages
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”