]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/mpfire/perl/Audio/MPD/Common/Item/Directory.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
::Directory
;
15 use base qw
[ Class
::Accessor
::Fast Audio
::MPD
::Common
::Item
];
16 __PACKAGE__
->mk_accessors( qw
[ directory
] );
18 #our ($VERSION) = '$Rev: 5645 $' =~ /(\d+)/;
27 Audio::MPD::Common::Item::Directory - a directory object
32 print $item->directory . "\n";
37 C<Audio::MPD::Common::Item::Directory> is more a placeholder for a
38 hash ref with one pre-defined key, namely the directory 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: directory().
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.