]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - net.pl
Switch to qw<>
[perl/scripts/xchat.git] / net.pl
diff --git a/net.pl b/net.pl
index eefa83c79fc59432c4049c5c3af719cda2b31021..3dbf3f8681f7a7975dc469c6501c60e1ae255d9b 100755 (executable)
--- a/net.pl
+++ b/net.pl
@@ -3,14 +3,14 @@ package Xchat::VPIT::Net;
 use strict;
 use warnings;
 
-use List::Util      qw/max/;
-use Locale::Country qw/code2country/;
+use List::Util      qw<max>;
+use Locale::Country qw<code2country>;
 
-use Xchat qw/:all/;
+use Xchat qw<:all>;
 
 use lib get_info 'xchatdir';
 use Xchat::XPI;
-use Xchat::XPI::Net qw/resolve whois/;
+use Xchat::XPI::Net qw<resolve whois>;
 
 our $VERSION = '0.02';
 
@@ -132,11 +132,13 @@ hook_command 'TLD', sub {
  help_text => 'TLD <hostname(s)>, give the TLD text representation of the hosts'
 };
 
-$ph = new Xchat::XPI name   => 'Networking tools',
-                     tag    => 'Net',
-                     desc   => 'DNS & Whois clients, TLD names',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name   => 'Networking tools',
+ tag    => 'Net',
+ desc   => 'DNS & Whois clients, TLD names',
+ author => 'Vincent Pit (VPIT)',
+ email  => 'perl@profvince.com',
+ url    => 'http://www.profvince.com',
+);
 
 1;