use warnings;
use Data::Dumper;
-use Encode qw/encode/;
+use Encode qw<encode>;
-use Xchat qw/:all/;
+use Xchat qw<:all>;
use lib get_info 'xchatdir';
use Xchat::XPI;
help_text => 'HGREP <text>, print users in the current context whose hostname matches text'
};
-$ph = new Xchat::XPI name => 'Misc tools',
- tag => 'Tools',
- desc => 'Perl interpretor, URI escaper',
- author => 'Vincent Pit (VPIT)',
- email => 'perl@profvince.com',
- url => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name => 'Misc tools',
+ tag => 'Tools',
+ desc => 'Perl interpretor, URI escaper',
+ author => 'Vincent Pit (VPIT)',
+ email => 'perl@profvince.com',
+ url => 'http://www.profvince.com',
+);
1;