in reply to Next 50 array elements during each loop?

Take a look at the natatime subroutine in List::MoreUtils