Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: An internet garbage filter

by pg (Canon)
on Oct 27, 2003 at 07:21 UTC ( #302347=note: print w/ replies, xml ) Need Help??


in reply to Re: An internet garbage filter
in thread An internet garbage filter

For anyone use this program, my suggestion is to have a big hash for banned sites, but only a much smaller array for banned sites expressed with regexp.

For example, if there are four sites you want to ban:

  • a.foo.com
  • b.foo.com
  • c.foo.com
  • d.foo.com

It is better to put them all in the hash for fixed site, instead of using regexp, unless that site has a rich variety of names. If it only has three or four different names, put them in hash.


Comment on Re: Re: An internet garbage filter

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2014-07-23 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls