help_text => "$_, output which song is currently played by mpd"
} for qw/MPD NP/;
-$ph = new Xchat::XPI name => 'MPD Client',
- tag => 'MPD',
- desc => 'Music Player Daemon client',
- author => 'Vincent Pit (VPIT)',
- email => 'perl@profvince.com',
- url => 'http://www.profvince.com';
+$ph = Xchat::XPI->new(
+ name => 'MPD Client',
+ tag => 'MPD',
+ desc => 'Music Player Daemon client',
+ author => 'Vincent Pit (VPIT)',
+ email => 'perl@profvince.com',
+ url => 'http://www.profvince.com',
+);
1;