List::MoreUtils->import('each_array'); my $ea = each_array(\@v1, \@v2);