1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
#
# This file is part of Audio-MPD-Common
#
# This software is copyright (c) 2007 by Jerome Quelin.
#
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
#
use 5.008;
use strict;
use warnings;
package Audio::MPD::Common::Item::Playlist;
our $VERSION = '1.100430';
# ABSTRACT: a playlist object
use Moose;
use MooseX::Has::Sugar;
use MooseX::Types::Moose qw{ Str };
use base qw{ Audio::MPD::Common::Item };
# -- public attributes
has last_modified => ( rw, isa=>Str );
has playlist => ( rw, isa=>Str, required );
1;
=pod
=head1 NAME
Audio::MPD::Common::Item::Playlist - a playlist object
=head1 VERSION
version 1.100430
=head1 DESCRIPTION
L<Audio::MPD::Common::Item::Playlist> is more a placeholder with some
attributes.
The constructor should only be called by L<Audio::MPD::Common::Item>'s
constructor.
=head1 ATTRIBUTES
=head2 $item->last_modified;
Last modification date.
=head2 $item->playlist;
Path to the playlist file.
=head1 AUTHOR
Jerome Quelin
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
__END__
|