in reply to Re^2: Nested Foreach Loop skipping every other element??
in thread Nested Foreach Loop skipping every other element??

Instead of deleting the unwanted ones, you could push the wanted ones onto a new list. Or try to rewrite your conditions into a grep statement.

  • Comment on Re^3: Nested Foreach Loop skipping every other element??