X-Git-Url: http://git.vpit.fr/?p=perl%2Fscripts%2Fxchat.git;a=blobdiff_plain;f=mpd.pl;fp=mpd.pl;h=4877b52349791f1f8432a228380958cef2044474;hp=ca732888f329a3a807dd3b2485e6b5c77fd68be2;hb=9db5de0ec290fd8b82a9c510e0d627b31e44d9bd;hpb=80f827633d7173e4388bfce83f6bb304f37cecab diff --git a/mpd.pl b/mpd.pl index ca73288..4877b52 100755 --- a/mpd.pl +++ b/mpd.pl @@ -5,7 +5,7 @@ use warnings; use Audio::MPD; -use Xchat qw/:all/; +use Xchat qw<:all>; use lib get_info 'xchatdir'; use Xchat::XPI; @@ -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',