in reply to loop array excluding some elements

I don't mind at all using loops, and the next and last verbs work quite well here. You can even use some verbiage that's fairly peculiar to perl, such as:
next unless ($_ == 0);