line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Record::Serialize::Types; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Types for Data::Record::Serialize |
4
|
|
|
|
|
|
|
|
5
|
17
|
|
|
17
|
|
273
|
use v5.12; |
|
17
|
|
|
|
|
78
|
|
6
|
17
|
|
|
17
|
|
143
|
use strict; |
|
17
|
|
|
|
|
54
|
|
|
17
|
|
|
|
|
445
|
|
7
|
17
|
|
|
17
|
|
101
|
use warnings; |
|
17
|
|
|
|
|
51
|
|
|
17
|
|
|
|
|
958
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.05'; |
10
|
|
|
|
|
|
|
|
11
|
17
|
|
|
17
|
|
10271
|
use Type::Utils -all; |
|
17
|
|
|
|
|
161629
|
|
|
17
|
|
|
|
|
200
|
|
12
|
17
|
|
|
17
|
|
48107
|
use Types::Standard qw( ArrayRef Str Enum ); |
|
17
|
|
|
|
|
55
|
|
|
17
|
|
|
|
|
98
|
|
13
|
17
|
|
|
17
|
|
45293
|
use Type::Library -base, -declare => qw[ ArrayOfStr SerializeType ]; |
|
17
|
|
|
|
|
56
|
|
|
17
|
|
|
|
|
123
|
|
14
|
|
|
|
|
|
|
|
15
|
17
|
|
|
17
|
|
10143
|
use namespace::clean; |
|
17
|
|
|
|
|
55
|
|
|
17
|
|
|
|
|
224
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
declare ArrayOfStr, as ArrayRef [Str]; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
coerce ArrayOfStr, from Str, q { [ $_ ] }; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
declare SerializeType, as Enum [qw( N I S B)]; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
# This file is part of Data-Record-Serialize |
25
|
|
|
|
|
|
|
# |
26
|
|
|
|
|
|
|
# This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
27
|
|
|
|
|
|
|
# |
28
|
|
|
|
|
|
|
# This is free software, licensed under: |
29
|
|
|
|
|
|
|
# |
30
|
|
|
|
|
|
|
# The GNU General Public License, Version 3, June 2007 |
31
|
|
|
|
|
|
|
# |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=pod |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=for :stopwords Diab Jerius Smithsonian Astrophysical Observatory |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 NAME |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Data::Record::Serialize::Types - Types for Data::Record::Serialize |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 VERSION |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
version 1.05 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 INTERNALS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SUPPORT |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 Bugs |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Please report any bugs or feature requests to bug-data-record-serialize@rt.cpan.org or through the web interface at: L<https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Record-Serialize> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 Source |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Source is available at |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
and may be cloned from |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
https://gitlab.com/djerius/data-record-serialize.git |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 SEE ALSO |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=over 4 |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
L<Data::Record::Serialize|Data::Record::Serialize> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=back |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 AUTHOR |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Diab Jerius <djerius@cpan.org> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
This is free software, licensed under: |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The GNU General Public License, Version 3, June 2007 |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |