Consider using natatime from List::MoreUtils, check the provided examples.
In reply to Re: take 'n' array elements at a time by Anonymous Monk in thread take 'n' array elements at a time by fionbarr