$_ == $wanted and say("match"), last for @ary