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
|
|
235
|
use 5.008; |
|
9
|
|
|
|
|
23
|
|
10
|
9
|
|
|
9
|
|
31
|
use warnings; |
|
9
|
|
|
|
|
11
|
|
|
9
|
|
|
|
|
257
|
|
11
|
9
|
|
|
9
|
|
33
|
use strict; |
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
315
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Audio::MPD::Types; |
14
|
|
|
|
|
|
|
# ABSTRACT: types used in the distribution |
15
|
|
|
|
|
|
|
$Audio::MPD::Types::VERSION = '2.004'; |
16
|
9
|
|
|
9
|
|
35
|
use Moose::Util::TypeConstraints; |
|
9
|
|
|
|
|
12
|
|
|
9
|
|
|
|
|
127
|
|
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.004 |
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 |