X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Xchat%2FXPI%2FNet.pm;h=9cb99379a4d76a99e97f2d7b9745a4288daa089b;hb=9db5de0ec290fd8b82a9c510e0d627b31e44d9bd;hp=285e11a9a3be0f45d125ad9d246242cf2805e491;hpb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d;p=perl%2Fscripts%2Fxchat.git diff --git a/Xchat/XPI/Net.pm b/Xchat/XPI/Net.pm index 285e11a..9cb9937 100644 --- a/Xchat/XPI/Net.pm +++ b/Xchat/XPI/Net.pm @@ -7,14 +7,14 @@ 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/; +use Xchat::XPI qw; -our $VERSION = '0.02'; +our $VERSION = '0.03'; -my ($ph, $res); +my $res; BEGIN { $res = Net::DNS::Resolver->new; @@ -110,20 +110,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;