X-Git-Url: http://git.vpit.fr/?p=perl%2Fscripts%2Fxchat.git;a=blobdiff_plain;f=Xchat%2FXPI%2FNet.pm;h=285e11a9a3be0f45d125ad9d246242cf2805e491;hp=56cd68f6a64fff12cb762a462e8bf97f0c405a8d;hb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d;hpb=694738744665b442290449960760fdd09c48d3fd diff --git a/Xchat/XPI/Net.pm b/Xchat/XPI/Net.pm index 56cd68f..285e11a 100644 --- a/Xchat/XPI/Net.pm +++ b/Xchat/XPI/Net.pm @@ -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;