See List::Util::zip (or is it List::MoreUtils::zip ?).
For converting interleaved arrays, there is natatime in the same module.
Update: s/Scalar/List/g, spotted by LanX
In reply to Re: equivalent of python's zip in perl
by Corion
in thread equivalent of python's zip in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |