In pseudo-code:
make a hash of @arr2 instantiate @arr3 for each element of @arr1 split it to get the second field if that field is a key in the hash push the element onto @arr3
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re: Deleting elements of one list using another
by aaron_baugher
in thread Deleting elements of one list using another
by Sj03rd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |