while (@array) { $element = shift @array #other processing } [download]
In reply to Re^4: Explanation of Code Problem by Anonymous Monk in thread Explanation of Code Problem by Anonymous Monk