X-Git-Url: http://git.vpit.fr/?p=perl%2Fscripts%2Fxchat.git;a=blobdiff_plain;f=net.pl;h=bcb9002814e1979e5acbc7fa7888b3980065afa3;hp=eefa83c79fc59432c4049c5c3af719cda2b31021;hb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d;hpb=694738744665b442290449960760fdd09c48d3fd diff --git a/net.pl b/net.pl index eefa83c..bcb9002 100755 --- a/net.pl +++ b/net.pl @@ -132,11 +132,13 @@ hook_command 'TLD', sub { help_text => 'TLD , 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;