|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: How to code this?by herveus (Parson) |
| on Nov 15, 2011 at 14:31 UTC ( #938185=note: print w/ replies, xml ) | Need Help?? |
|
Howdy! Given subsequent clarifications, I think this may be a very effective approach. If you look at the first n items in the array, you will get the entire group each time. Once you have handled a set, shift the first element off and any subsequent empty elements. Lather, rinse, repeat.
yours, Michael
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||