Im trying to find a way to block any non-USA, Canada IPs and\or DNS names any ideas on how to do this??????????? im not suer y you say this is a Non-perl question. I want to know how you can block using maby the $ENV{REMOTE_HOST} and something to onny alow .com, .net, .org as the last 4 chars.
IE ... XXX.XX-XXXX.XX.com