in reply to An internet garbage filter
Haven't tried running it, but i would suggest converting your banned_sites hash into an array of regexes ... that way you don't have the seperate lists of fixed hosts in the hash, and host regexes in the is_banned_site method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: An internet garbage filter
by pg (Canon) on Oct 27, 2003 at 07:21 UTC |