]> 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 a7b267927059493c6d1060381db1f9a28071bc5c..ec5ba09b4e227c780e55ec30df01251c1b46ef45 100644 (file)
@@ -7,10 +7,7 @@ use IO::Socket::INET;
 
 use Net::DNS;
 
-use Xchat qw/:all/;
-
-use lib get_info 'xchatdir';
-use Xchat::XPI qw/register init/;
+use Xchat qw<:all>;
 
 our $VERSION = '0.03';
 
@@ -110,10 +107,10 @@ 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 ];