]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - Xchat/XPI/Net.pm
Xchat::XPI has not been exporting anything for a long time
[perl/scripts/xchat.git] / Xchat / XPI / Net.pm
index 56cd68f6a64fff12cb762a462e8bf97f0c405a8d..ec5ba09b4e227c780e55ec30df01251c1b46ef45 100644 (file)
@@ -7,14 +7,11 @@ use IO::Socket::INET;
 
 use Net::DNS;
 
-use Xchat qw/:all/;
+use Xchat qw<:all>;
 
-use lib get_info 'xchatdir';
-use Xchat::XPI qw/register init/;
+our $VERSION = '0.03';
 
-our $VERSION = '0.02';
-
-my ($ph, $res);
+my $res;
 
 BEGIN {
  $res = Net::DNS::Resolver->new;
@@ -110,18 +107,11 @@ sub _whois_recv {
  return REMOVE;
 }
 
-use base qw/Exporter/;
+use base qw<Exporter>;
 
 our @EXPORT         = ();
-our %EXPORT_TAGS    = ('funcs' => [ qw/resolve whois/ ]);
+our %EXPORT_TAGS    = ('funcs' => [ qw<resolve whois> ]);
 our @EXPORT_OK      = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
 
-$ph = new Xchat::XPI name   => 'Extended Xchat Perl Interface :: Net',
-                     tag    => 'XPI::Net',
-                     desc   => 'Asynchronous network tools',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
-
 1;