X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Xchat%2FXPI%2FNet.pm;h=ec5ba09b4e227c780e55ec30df01251c1b46ef45;hb=e764db53b60b217e3d417c6faa60ba9bda6db3ea;hp=a7b267927059493c6d1060381db1f9a28071bc5c;hpb=d0506fe825279c4658116b8b09fabf51f943a8cd;p=perl%2Fscripts%2Fxchat.git diff --git a/Xchat/XPI/Net.pm b/Xchat/XPI/Net.pm index a7b2679..ec5ba09 100644 --- a/Xchat/XPI/Net.pm +++ b/Xchat/XPI/Net.pm @@ -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; our @EXPORT = (); -our %EXPORT_TAGS = ('funcs' => [ qw/resolve whois/ ]); +our %EXPORT_TAGS = ('funcs' => [ qw ]); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];