Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Filtering one array using another array

by Abigail-II (Bishop)
on Sep 04, 2003 at 13:31 UTC ( [id://288858]=note: print w/replies, xml ) Need Help??


in reply to Re: Filtering one array using another array
in thread Filtering one array using another array

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

  • Comment on Re: Filtering one array using another array

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://288858]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-25 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found