Perl Monk, Perl Meditation | |
PerlMonks |
Re: map2 {} grep2 {} ...by Anonymous Monk |
on Jul 14, 2011 at 12:09 UTC ( [id://914329]=note: print w/replies, xml ) | Need Help?? |
Consider "each."
Also consider a while loop that shifts the first variable off an array in the "while" part, then shifts the remainders off during the body of the loop (using "last unless" as needed).
In Section
Seekers of Perl Wisdom
|
|