good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How do I loop through a list two or more elements at a time?by davorg (Chancellor) |
on Oct 24, 2001 at 14:41 UTC ( [id://121070]=note: print w/replies, xml ) | Need Help?? |
If you don't mind destroying your array in the process, you can use splice.
In Section
Seekers of Perl Wisdom
|
|