![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Grepping on arrayby herveus (Parson) |
on May 19, 2004 at 13:08 UTC ( #354592=note: print w/replies, xml ) | Need Help?? |
Howdy!
%first is a hash whose keys are the distinct values in @arr2. The grep returns a list of the values in @arr1 that don't exist in %first, thus eliminating values in @arr2.
yours,
Michael
In Section
Seekers of Perl Wisdom
|
|