]> git.vpit.fr Git - perl/scripts/xchat.git/blobdiff - hl.pl
Freshen the default banner
[perl/scripts/xchat.git] / hl.pl
diff --git a/hl.pl b/hl.pl
index 97a80af38e7a4b922a76c69721d47b26d67e13eb..7e76ba2c6cfb0e654a0a4aff635c8fca84e9e6d3 100755 (executable)
--- a/hl.pl
+++ b/hl.pl
@@ -3,13 +3,13 @@ package Xchat::VPIT::Highlight;
 use strict;
 use warnings;
 
-use Xchat qw/:all/;
+use Xchat qw<:all>;
 
 use lib get_info 'xchatdir';
 use Xchat::XPI;
-use Xchat::XPI::Events qw/filter/;
+use Xchat::XPI::Events qw<filter>;
 
-our $VERSION = '0.02';
+our $VERSION = '0.04';
 
 my $ph;
 
@@ -25,27 +25,30 @@ sub guiclear {
 hook_print 'Private Message to Dialog', sub { guihl; return EAT_NONE };
 
 my %hl = (
- '#cpantesters' => [ qw/
+ '#cpantesters' => [ qw<
     Acme-CPANAuthors-You-re_using
     B-RecDeparse
+    Bit-MorseSignals
     CPANPLUS-Dist-Gentoo
+    IPC-MorseSignals
     Lexical-Types
     Linux-SysInfo
-    MorseSignals
     Perl-Critic-Policy-Dynamic-NoIndirect
     Regexp-Wildcards
     Scalar-Vec-Util
     Scope-Upper
     Sub-Nary
+    Sub-Op
     Sub-Prototype-Util
     Test-Valgrind
     Thread-Cleanup
     Variable-Magic
+    autovivification-
     indirect-
     rgit-
     subs-auto
-    with-
-  / ],
+    \bwith-
+  > ],
 );
 
 for (keys %hl) {
@@ -84,12 +87,14 @@ filter 'Channel Action Hilight' => sub {
  }
 } => 'Channel Action';
 
-$ph = new Xchat::XPI name   => 'Smart highlighting',
-                     tag    => 'HL',
-                     desc   => 'Highlight on private messages',
-                     author => 'Vincent Pit (VPIT)',
-                     email  => 'perl@profvince.com',
-                     url    => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name   => 'Smart highlighting',
+ tag    => 'HL',
+ desc   => 'Highlight on private messages',
+ author => 'Vincent Pit (VPIT)',
+ email  => 'perl@profvince.com',
+ url    => 'http://www.profvince.com',
+);
+
 1;