return sprintf "\003%d%s", $rcolors[$col % @rcolors], $nick;
}
-use base qw<Exporter>;
-
+use base qw<Exporter>;
+
our @EXPORT = ();
our %EXPORT_TAGS = ('funcs' => [ qw<dye_nick> ]);
our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
$EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
-
+
1;
email => 'perl@profvince.com',
url => 'http://www.profvince.com',
);
-
+
1;
} else {
output '*', 'Resolution failed for ' . $req->{host},
map {
- $_->mname . ' IN SOA ' . $_->rname . "\n",
+ $_->mname . ' IN SOA ' . $_->rname . "\n",
join ' ', 'serial:' . $_->serial, 'ref:' . $_->refresh,
'ret:' . $_->retry, 'exp:' . $_->expire,
'min:' . $_->minimum . "\n";
my $info = user_info $_;
my $req = parse_url($info ? $info->{host} : $_);
whois $req->{host}, \&netwhois_print, [ $context, $req ];
- }
- return EAT_ALL;
+ }
+ return EAT_ALL;
}, {
help_text => 'NETWHOIS <ip(s)/hostname(s)>, retrieve domain/ip information'
};
next unless $tld;
my $name = code2country $tld;
print $ph $tld . ' is ' . ($name ? $name : 'unknown') . "\n";
- }
+ }
return EAT_ALL;
}, {
help_text => 'TLD <hostname(s)>, give the TLD text representation of the hosts'