|
|
| No such thing as a small change | |
| PerlMonks |
Re: Checking contents of array against contents of a hashby ssandv (Hermit) |
| on Oct 06, 2010 at 23:58 UTC ( [id://863888]=note: print w/replies, xml ) | Need Help?? |
|
Before you do anything else, you can count the number of emails on the dlist. if it's not at least as big as the master list of users, you can short circuit. After that, you can sort them and walk the dlist using the master list. As soon as you find a master list element that's skipped on the dlist, you're done for that dlist. If you get to the end of the master list and nothing was skipped, flag it. Or something like that.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||