]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/mpfire/perl/Audio/MPD/Common/Item/Playlist.pm
2 # This file is part of Audio::MPD::Common
3 # Copyright (c) 2007 Jerome Quelin, all rights reserved.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the same terms as Perl itself.
10 package Audio
::MPD
::Common
::Item
::Playlist
;
15 use base qw
[ Class
::Accessor
::Fast Audio
::MPD
::Common
::Item
];
16 __PACKAGE__
->mk_accessors( qw
[ playlist
] );
18 #our ($VERSION) = '$Rev: 5645 $' =~ /(\d+)/;
27 Audio::MPD::Common::Item::Playlist - a playlist object
32 print $item->playlist . "\n";
37 C<Audio::MPD::Common::Item::Playlist> is more a placeholder for a hash ref
38 with one pre-defined key, namely the playlist name.
43 This module only has a C<new()> constructor, which should only be called by
44 C<Audio::MPD::Common::Item>'s constructor.
46 The only other public method is an accessor: playlist().
55 =item L<POE::Component::Client::MPD>
62 Jerome Quelin, C<< <jquelin at cpan.org> >>
65 =head1 COPYRIGHT & LICENSE
67 Copyright (c) 2007 Jerome Quelin, all rights reserved.
69 This program is free software; you can redistribute it and/or modify
70 it under the same terms as Perl itself.