in reply to Re: RegExp to Search All Array Members?
in thread RegExp to Search All Array Members?

Right. And if you do not want to treat the entries in @names as regexes, map them through quotemeta.