pmonk has asked for the wisdom of the Perl Monks concerning the following question:
####################################################### ## Configuration ## Location of TLD/Whois server list. my $RSList = "/export/home/manager/whois/whoislist"; ## Default whois server (don't undef this) $DefaultNic = "whois.networksolutions.com"; my $sip= 192.35.75.55; #print "IP ADDRESS: $QueryIn "; # my $QueryIn = <STDIN>; my $QueryIn = $sip; chomp $QueryIn; if ($QueryIn eq "") { &ShowResults(); exit 0; } my @QueryArray = split /\./, $QueryIn; my $QueryElements = @QueryArray; my $OrigQuery = $QueryIn; $QueryIn =~ tr/A-Z/a-z/; my @SuffixArray = split /\ /,$QueryIn; my $SuffixElements= @SuffixArray - 1; $SuffixArray[$SuffixElements] =~ tr/a-z.,0-9\-\+//cd; $QueryIn =~ tr/a-z.,0-9\-\@\!\ \+\:\///cd;
Edit: chipmunk 2001-08-27
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WHOIS help
by Maclir (Curate) on Aug 27, 2001 at 20:47 UTC | |
by pmonk (Novice) on Aug 27, 2001 at 22:07 UTC | |
|
Re: WHOIS help
by tomhukins (Curate) on Aug 27, 2001 at 19:43 UTC | |
by pmonk (Novice) on Aug 27, 2001 at 22:02 UTC |