]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - Xchat/XPI/Net.pm
Just say no to indirect object notation
[perl/scripts/xchat.git] / Xchat / XPI / Net.pm
index 56cd68f6a64fff12cb762a462e8bf97f0c405a8d..285e11a9a3be0f45d125ad9d246242cf2805e491 100644 (file)
@@ -117,11 +117,13 @@ our %EXPORT_TAGS    = ('funcs' => [ qw/resolve whois/ ]);
 our @EXPORT_OK      = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
 
-$ph = new Xchat::XPI 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';
+$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;