use Xchat;
-our $VERSION = '0.04';
+our $VERSION = '0.05';
use constant { COLOR_TAG => "\00307" };
sub PRINTF { shift->printf(@_) }
-my $ph = __PACKAGE__->new(
- name => 'Extended Xchat Perl Interface',
- desc => 'Adds extended support for Perl scripts',
- author => 'Vincent Pit (VPIT)',
- email => 'perl@profvince.com',
- url => 'http://www.profvince.com',
-);
-
1;
DEFAULT_DELAY => 1000
};
-our $VERSION = '0.03';
-
-my $ph;
+our $VERSION = '0.04';
sub delay {
my $d = shift;
our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
$EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
-$ph = Xchat::XPI->new(
- name => 'Extended Xchat Perl Interface :: Events',
- tag => 'XPI::Events',
- desc => 'More events handlers',
- author => 'Vincent Pit (VPIT)',
- email => 'perl@profvince.com',
- url => 'http://www.profvince.com',
-);
-
1;
use lib get_info 'xchatdir';
use Xchat::XPI qw/register init/;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
-my ($ph, $res);
+my $res;
BEGIN {
$res = Net::DNS::Resolver->new;
our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
$EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
-$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;
use lib get_info 'xchatdir';
use Xchat::XPI qw/register init/;
-our $VERSION = '0.01';
-
-my $ph;
+our $VERSION = '0.02';
sub dye_nick {
my ($nick, $col) = ($_[0], 0);
our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
$EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
-$ph = Xchat::XPI->new(
- 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;