On 03/20/2017 11:18 PM, Norman Gaywood wrote:
On 21 March 2017 at 15:39, ToddAndMargo > wrote:
from the beginning of an array?
untested but same as perl5:
splice @list, 0, $N;
https://docs.perl6.org/routine/splice
On 21 March 2017 at 15:39, ToddAndMargo wrote:
> from the beginning of an array?
>
untested but same as perl5:
splice @list, 0, $N;
https://docs.perl6.org/routine/splice
> I know about shift, but that is one at a time. I suppose I
> could do a loo[, but it would be
from the beginning of an array?
I know about shift, but that is one at a time. I suppose I
could do a loo[, but it would be nice to do it all at once.
Many thanks,
-T