if (ref($_) ne "ARRAY") { die "element isn't an array ref"; }