in reply to "reverse" array match

I'm a little unclear on the question, but taking my best guess about what you want:
grep $term2=~/\Q$_\E/, @myTerms;

The PerlMonk tr/// Advocate

Replies are listed 'Best First'.
Re: Re: "reverse" array match
by rsiedl (Friar) on May 27, 2004 at 14:48 UTC
    Oh of course. Sometimes I am blind to what is right in front of me. Thanks.