open(BANNED, "<$banned"); while() { print "GET AWAY!" if ($_ eq $ENV{REMOTE_ADDR}); } close BANNED;