in reply to Checking contents of array against contents of a hash
Can you make the dlists hashes instead of arrays? Then you could check something like this:
if (!grep {!exists $user_hash{$dlist_name}{$_}} @emails) { # flag 'all users' }
That would have the advantage of deduping your dlists; where with an array you probably ought to check before pushing.
|
---|
In Section
Seekers of Perl Wisdom