Do you know where your variables are? | |
PerlMonks |
Re: Grepping on arrayby herveus (Prior) |
on May 19, 2004 at 13:08 UTC ( [id://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
|
|