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 POE
::Component
::Client
::MPD
::Item
::Directory
;
15 use base qw
[ Class
::Accessor
::Fast POE
::Component
::Client
::MPD
::Item
];
16 __PACKAGE__
->mk_accessors( qw
[ directory
] );
18 #our ($VERSION) = '$Rev: 5645 $' =~ /(\d+)/;
26 Audio::MPD::Common::Item::Directory - a directory object
31 print $item->directory . "\n";
36 C<Audio::MPD::Common::Item::Directory> is more a placeholder for a
37 hash ref with one pre-defined key, namely the directory name.
42 This module only has a C<new()> constructor, which should only be called by
43 C<POE::Component::Client::MPD::Item>'s constructor.
45 The only other public method is an accessor: directory().
54 =item L<POE::Component::Client::MPD>
61 Jerome Quelin, C<< <jquelin at cpan.org> >>
64 =head1 COPYRIGHT & LICENSE
66 Copyright (c) 2007 Jerome Quelin, all rights reserved.
68 This program is free software; you can redistribute it and/or modify
69 it under the same terms as Perl itself.