X-Git-Url: http://git.vpit.fr/?p=perl%2Fscripts%2Fxchat.git;a=blobdiff_plain;f=mpd.pl;h=295bae4f9ceba76f2552ba8acecf34a6064d3135;hp=ca732888f329a3a807dd3b2485e6b5c77fd68be2;hb=HEAD;hpb=b9c3e00cbf52ff5ddb0d79fd66a6877f6feb508d diff --git a/mpd.pl b/mpd.pl index ca73288..295bae4 100755 --- a/mpd.pl +++ b/mpd.pl @@ -5,9 +5,9 @@ use warnings; use Audio::MPD; -use Xchat qw/:all/; +use Xchat qw<:all>; -use lib get_info 'xchatdir'; +use lib get_info 'xchatdir'; use Xchat::XPI; our $VERSION = 0.04; @@ -50,7 +50,7 @@ hook_command $_, sub { return EAT_ALL; }, { help_text => "$_, output which song is currently played by mpd" -} for qw/MPD NP/; +} for qw; $ph = Xchat::XPI->new( name => 'MPD Client',