Perl Monk, Perl Meditation | |
PerlMonks |
Re: Filtering one array using another arrayby Abigail-II (Bishop) |
on Sep 04, 2003 at 13:31 UTC ( [id://288858]=note: print w/replies, xml ) | Need Help?? |
Put the blacklisted sites in a hash rather than a list, that way you can do a fast lookup. Eh, hashes are great for exact matches, but exact matching isn't what the OP is doing. He's matching against regexes, and hashes aren't going to help him there. Abigail
In Section
Seekers of Perl Wisdom
|
|