Don't ask to ask, just ask | |
PerlMonks |
Re: Comparing 1 array that matches in 2nd arrayby brx (Pilgrim) |
on Jul 13, 2012 at 08:49 UTC ( [id://981582]=note: print w/replies, xml ) | Need Help?? |
The two ways I understand your question: First, you want to known what elements from @pcov match with at least one pattern from @realassert. Second, you want to know what elements from @pcov match with all patterns from @realassert
edit: You could also look at http://perldoc.perl.org/perlop.html#Smartmatch-Operator
edit2: typo
In Section
Seekers of Perl Wisdom
|
|