File Coverage

blib/lib/Audio/MPD/Types.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             #
2             # This file is part of Audio-MPD
3             #
4             # This software is copyright (c) 2007 by Jerome Quelin.
5             #
6             # This is free software; you can redistribute it and/or modify it under
7             # the same terms as the Perl 5 programming language system itself.
8             #
9 9     9   181 use 5.008;
  9         22  
10 9     9   33 use warnings;
  9         9  
  9         212  
11 9     9   28 use strict;
  9         10  
  9         284  
12              
13             package Audio::MPD::Types;
14             # ABSTRACT: types used in the distribution
15             $Audio::MPD::Types::VERSION = '2.002';
16 9     9   32 use Moose::Util::TypeConstraints;
  9         9  
  9         66  
17              
18             enum CONNTYPE => [ qw{ reuse once } ];
19              
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =head1 NAME
27              
28             Audio::MPD::Types - types used in the distribution
29              
30             =head1 VERSION
31              
32             version 2.002
33              
34             =head1 DESCRIPTION
35              
36             This module implements the specific types used by the distribution, and
37             exports them (exporting is done directly by
38             L<Moose::Util::TypeConstraints>.
39              
40             Current types defined:
41              
42             =over 4
43              
44             =item * CONNTYPE - a simple enumeration, allowing only C<reuse>
45             or C<once>.
46              
47             =back
48              
49             =head1 AUTHOR
50              
51             Jerome Quelin
52              
53             =head1 COPYRIGHT AND LICENSE
54              
55             This software is copyright (c) 2007 by Jerome Quelin.
56              
57             This is free software; you can redistribute it and/or modify it under
58             the same terms as the Perl 5 programming language system itself.
59              
60             =cut