use strict;
use warnings;
-use Xchat qw/:all/;
+use Xchat qw<:all>;
use lib get_info 'xchatdir';
-use Xchat::XPI qw/register init/;
+use Xchat::XPI qw<register init>;
-our $VERSION = '0.01';
-
-my $ph;
+our $VERSION = '0.02';
sub dye_nick {
my ($nick, $col) = ($_[0], 0);
return sprintf "\003%d%s", $rcolors[$col], $nick;
}
-use base qw/Exporter/;
+use base qw<Exporter>;
our @EXPORT = ();
-our %EXPORT_TAGS = ('funcs' => [ qw/dye_nick/ ]);
+our %EXPORT_TAGS = ('funcs' => [ qw<dye_nick> ]);
our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
$EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
-$ph = new Xchat::XPI name => 'Extended Xchat Perl Interface :: Utils',
- tag => 'XPI::Utils',
- desc => 'Utility functions',
- author => 'Vincent Pit (VPIT)',
- email => 'perl@profvince.com',
- url => 'http://www.profvince.com';
-
1;