in reply to Re: Next 50 array elements during each loop?
in thread Next 50 array elements during each loop?
Alternative non-destructive approach:
my $vidis_ = sub { \@_ }->(@vidis); while (my @section = splice @$vidis_, 0, 50) { ... }
None of the elements are copied, so this is quite efficient.
|
|---|