X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Xchat%2FXPI%2FNet.pm;h=ec5ba09b4e227c780e55ec30df01251c1b46ef45;hb=e764db53b60b217e3d417c6faa60ba9bda6db3ea;hp=285e11a9a3be0f45d125ad9d246242cf2805e491;hpb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d;p=perl%2Fscripts%2Fxchat.git diff --git a/Xchat/XPI/Net.pm b/Xchat/XPI/Net.pm index 285e11a..ec5ba09 100644 --- a/Xchat/XPI/Net.pm +++ b/Xchat/XPI/Net.pm @@ -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,20 +107,11 @@ 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 ]; -$ph = Xchat::XPI->new( - 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;