in reply to regex match in array
That's a really wierd way to search for elements in an array. But if you really want to do it that way, use grep in void context.
/me hides away( grep { /TE(.)M/i } @myTerms )
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.
Chady | http://chady.net/
|
---|
In Section
Seekers of Perl Wisdom