in reply to Re^2: Check for next array element.
in thread Check for next array element.

Sure, but then in the "DO STUFF" section you have to work with $list[$i] instead of $_. What are we, animals?! :-)