in reply to Processing pairs of values from even-sized array

There's also a 'pairwise' function in List::MoreUtils, which might be worth a look.
  • Comment on Re: Processing pairs of values from even-sized array