foreach (...){ ... next if ($1 == 1) { 1.Anweisung ; 2.Anweisung; } }