Re: How do I remove N elements

2017-03-21 Thread ToddAndMargo
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

Re: How do I remove N elements

2017-03-21 Thread Norman Gaywood
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

How do I remove N elements

2017-03-20 Thread ToddAndMargo
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