order allow,deny
deny from <proxy address 2>
deny from <proxy address 1>
allow from all
Yes Perl has ,also check if $HTTP_X_FORWARDED_FOR can do some help.does perl really have this $ENV variable? i don't know of any proxy servers (any real ones anyway, not anonymizer or anything) to test out. $ENV{'HTTP_FORWARDED_FOR'} ?
usually an "open proxy" = proxy that can be used by everyone. This would be either a public proxy, an anonymizer or a badly configured/trojan infected pc.I noticed that a good portion of your traffic is coming from an open proxy computer.