for (@MyData){ next if ! defined; ... }