File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 1717use feature qw( say) ;
1818use strict;
1919use open qw( :encoding(utf8)) ;
20- use vars qw( $KNOWN @PATHS $PSL @TLDs $IANA $INFO $EXCLUDE $CHECKED ) ;
20+ use vars qw( $KNOWN @PATHS $PSL @TLDs $IANA $INFO $EXCLUDE) ;
2121use warnings;
2222
2323$| = 1;
6666 }
6767}
6868
69- #
70- # this will remember servers which we know are not RDAP servers
71- #
72- $CHECKED = {};
73-
7469say STDERR ' checking TLDs...' ;
7570
7671foreach my $tld (grep { !exists ($EXCLUDE -> {$_ }) } @TLDs ) {
@@ -147,7 +142,7 @@ sub check_tld {
147142 }
148143 );
149144
150- foreach my $host (grep { ! exists ( $CHECKED -> { $_ }) } map { lc } @hosts ) {
145+ foreach my $host (map { lc } @hosts ) {
151146 foreach my $path (@paths ) {
152147 $path =~ s /\/ +/ \/ / g ;
153148
@@ -162,8 +157,5 @@ sub check_tld {
162157 return ;
163158 }
164159 }
165-
166- say STDERR sprintf (' %s is not an RDAP server' , $host );
167- $CHECKED -> {$host } = 1;
168160 }
169161}
You can’t perform that action at this time.
0 commit comments